Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setPos (0.19 sec)

  1. src/go/printer/nodes.go

    		if len(list) == 0 {
    			// no blank between keyword and {} in this case
    			p.setPos(lbrace)
    			p.print(token.LBRACE)
    			p.setPos(rbrace)
    			p.print(token.RBRACE)
    			return
    		} else if p.isOneLineFieldList(list) {
    			// small enough - print on one line
    			// (don't use identList and ignore source line breaks)
    			p.setPos(lbrace)
    			p.print(token.LBRACE, blank)
    			f := list[0]
    			if isStruct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/S390X.rules

      && setPos(v, x.Pos)
      && clobber(x)
      => (STMG2 [i-8] {s} p w0 w1 mem)
    (MOVDstore [i] {s} p w2 x:(STMG2 [i-16] {s} p w0 w1 mem))
      && x.Uses == 1
      && is20Bit(int64(i)-16)
      && setPos(v, x.Pos)
      && clobber(x)
      => (STMG3 [i-16] {s} p w0 w1 w2 mem)
    (MOVDstore [i] {s} p w3 x:(STMG3 [i-24] {s} p w0 w1 w2 mem))
      && x.Uses == 1
      && is20Bit(int64(i)-24)
      && setPos(v, x.Pos)
      && clobber(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    	if v < 0 {
    		return false
    	}
    	if (v & 0xFFF) == 0 {
    		v >>= 12
    	}
    	return v <= 0xFFF
    }
    
    // setPos sets the position of v to pos, then returns true.
    // Useful for setting the result of a rewrite's position to
    // something other than the default.
    func setPos(v *Value, pos src.XPos) bool {
    	v.Pos = pos
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64.rules

      && a.Val() == 0
      && c.Val() == 0
      && setPos(v, x.Pos)
      && clobber(x)
      => (MOVOstoreconst [makeValAndOff(0,a.Off())] {s} p0 mem)
    (MOVQstoreconst [a] {s} p0 x:(MOVQstoreconst [c] {s} p1 mem))
      && config.useSSE
      && x.Uses == 1
      && sequentialAddresses(p0, p1, int64(a.Off()+8-c.Off()))
      && a.Val() == 0
      && c.Val() == 0
      && setPos(v, x.Pos)
      && clobber(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

        return CartesianSet.create(sets);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the sets. For example:
       *
       * <pre>{@code
       * Sets.cartesianProduct(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Sets.java

        return CartesianSet.create(sets);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the sets. For example:
       *
       * <pre>{@code
       * Sets.cartesianProduct(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. tensorflow/c/kernels_test.cc

                                                   const char* op_name,
                                                   const char* node_name,
                                                   Status* status) {
      NodeDef def;
      def.set_op(op_name);
      def.set_name(node_name);
      def.set_device(device_name);
      def.add_input("input1");
      def.add_input("input2");
    
      AttrValue v;
      v.set_type(DataType::DT_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

              if (TF::TensorListSetItemOp set_op =
                      llvm::dyn_cast<TF::TensorListSetItemOp>(use.getOwner())) {
                element_shape = rewriter.create<TF::ShapeOp>(
                    op.getLoc(),
                    tensorflow::GetTypeFromTFTensorShape({-1}, shape_dtype),
                    set_op.getItem());
                element_shape_acquired = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

            }
            invokeStateSetMethod(methodVisitor);
    
            finishVisitingMethod(methodVisitor);
        }
    
        // the overload of type Object for Groovy coercions:  public void setFoo(Object foo)
        private void writeTypeConvertingSetter(ClassVisitor visitor, Type generatedType, Class<?> viewClass, ModelProperty<?> property) {
            WeaklyTypeReferencingMethod<?, ?> weakSetter = property.getAccessor(SETTER);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loader/loader.go

    func (l *Loader) SymGot(s Sym) int32 {
    	if v, ok := l.got[s]; ok {
    		return v
    	}
    	return -1
    }
    
    // SetGot sets the GOT offset of symbol i.
    func (l *Loader) SetGot(i Sym, v int32) {
    	if i >= Sym(len(l.objSyms)) || i == 0 {
    		panic("bad symbol for SetGot")
    	}
    	if v == -1 {
    		delete(l.got, i)
    	} else {
    		l.got[i] = v
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top