Searched refs:shape (Results 1 - 19 of 19) sorted by relevance

/openbsd-current/games/tetris/
H A Dtetris.h86 * A `shape' is the fundamental thing that makes up the game. There
95 * Except for 3 and 6, the center of each shape is one of the blots.
99 * so that it `sticks out' upward and leftward. Except for shape 6,
101 * shape 6's center `wobbles' as it rotates, so that while it `sticks out'
109 * The shape is moved steadily downward until it collides with something:
110 * either another shape, or the bottom of the board. When the shape can
113 * these rows move down to make more room. A new random shape is again
115 * The game ends when the new shape will not fit at (1,5).
120 * so that each shape contain
126 struct shape { struct
[all...]
H A Dshapes.c57 const struct shape shapes[] = {
80 * Return true iff the given shape fits in the given position,
84 fits_in(const struct shape *shape, int pos) argument
86 const int *o = shape->off;
95 * Write the given shape into the current board, turning it on
99 place(const struct shape *shape, int pos, int onoff) argument
101 const int *o = shape->off;
H A Dtetris.c60 const struct shape *curshape;
61 const struct shape *nextshape;
70 const struct shape *randshape(void);
137 const struct shape *
140 const struct shape *tmp;
267 * Put up the current shape `permanently',
275 * Choose a new shape. If it does not fit,
317 const struct shape *new = &shapes[
H A Dscreen.c372 static const struct shape *lastshape;
405 putstr("Next shape:");
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Doperators8.C4 class shape { class
12 class square :public shape {
28 class triangle :public shape {
46 shape* s1 = new square(4,4,5);
47 shape* s2 = new triangle(6,6,2,3);
/openbsd-current/gnu/llvm/llvm/lib/Analysis/models/
H A Dgen-regalloc-priority-test-model.py19 "shape": [
39 (key, tf.TensorSpec(dtype=tf.int64, shape=(), name=key))
43 tf.TensorSpec(dtype=tf.float32, shape=(), name=key))
46 dict((key, tf.TensorSpec(dtype=tf.float32, shape=(), name=key))
49 dict((key, tf.TensorSpec(dtype=tf.int32, shape=(), name=key))
H A Dgen-inline-oz-test-model.py23 "shape": [
37 tf.TensorSpec(dtype=tf.int64, shape=(), name=key) for key in [
79 tf.TensorSpec(dtype=tf.float32, shape=(), name=key)
85 tf.TensorSpec(dtype=tf.int32, shape=(), name=key)
H A Dlog_reader.py30 shape: list[int]
37 shape = [int(e) for e in d['shape']]
44 shape=shape,
55 self._len = math.prod(self._spec.shape)
70 size = math.prod(ts.shape) * ctypes.sizeof(ts.element_type)
H A Dgen-regalloc-eviction-test-model.py18 "shape": [
32 (key, tf.TensorSpec(dtype=tf.int64, shape=(NUM_REGISTERS), name=key))
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DMLRegallocPriorityAdvisor.cpp98 #define _DECL_FEATURES(type, name, shape, _) \
99 TensorSpec::createSpec<type>(#name, shape),
148 #define _DECL_TRAIN_FEATURES(type, name, shape, _) \
149 TensorSpec::createSpec<type>(std::string("action_") + #name, shape),
H A DMLRegallocEvictAdvisor.cpp145 // The feature list format: type, name, shape, documentation.
350 #define _DECL_FEATURES(type, name, shape, _) \
351 TensorSpec::createSpec<type>(#name, shape),
409 #define _DECL_TRAIN_FEATURES(type, name, shape, _) \
410 TensorSpec::createSpec<type>(std::string("action_") + #name, shape),
/openbsd-current/gnu/llvm/llvm/include/llvm/CodeGen/
H A DVirtRegMap.h64 /// Virt2ShapeMap - For X86 AMX register whose register is bound shape
125 void assignVirt2Shape(Register virtReg, ShapeT shape) { argument
126 Virt2ShapeMap[virtReg.id()] = shape;
/openbsd-current/gnu/llvm/llvm/lib/Analysis/
H A DTensorSpec.cpp53 OS.attributeArray("shape", [&]() {
54 for (size_t D : shape())
94 if (!Mapper.map<std::vector<int64_t>>("shape", TensorShape))
95 return EmitError("'shape' property not present or not an int array");
/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/
H A DTensorSpec.h24 /// "shape" (row-major), its type (see TensorSpec::getDataType specializations
66 const std::vector<int64_t> &shape() const { return Shape; } function in class:llvm::final
75 /// Get the number of elements in a tensor with this shape.
110 /// "shape": <array of ints> }
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/API/
H A DInstance.pm588 shape or form.
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2289 // Don't emit any vtable shape or vptr info if this class doesn't have an
/openbsd-current/gnu/gcc/gcc/doc/include/
H A Dtexinfo.tex5493 % Figure out line sizes for the paragraph shape.
/openbsd-current/gnu/usr.bin/binutils-2.17/texinfo/
H A Dtexinfo.tex5274 % Figure out line sizes for the paragraph shape.
/openbsd-current/gnu/usr.bin/texinfo/doc/
H A Dtexinfo.tex5369 % Figure out line sizes for the paragraph shape.

Completed in 375 milliseconds