Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for setTypes (0.21 sec)

  1. src/cmd/link/internal/ld/data.go

    	types.SetType(sym.STYPE)
    	types.SetSize(8)
    	ldr.SetAttrSpecial(types.Sym(), false)
    
    	etypes := ldr.CreateSymForUpdate("runtime.etypes", 0)
    	etypes.SetType(sym.SFUNCTAB)
    	ldr.SetAttrSpecial(etypes.Sym(), false)
    
    	if ctxt.HeadType == objabi.Haix {
    		rodata := ldr.CreateSymForUpdate("runtime.rodata", 0)
    		rodata.SetType(sym.SSTRING)
    		rodata.SetSize(8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

              while_op.getInput().getTypes(), while_op.getOutput().getTypes(),
              while_op.getBody().getArgumentTypes());
          return PropagateShapeToRegions(compatible_types,
                                         {&while_op.getCond(), &while_op.getBody()},
                                         max_iterations);
        }
        return PropagateShapeToRegions(while_op.getInput().getTypes(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/proxier_test.go

    						IP:       "100.101.102.103",
    						Port:     3001,
    						Protocol: strings.ToLower(string(v1.ProtocolSCTP)),
    						SetType:  utilipset.HashIPPort,
    					},
    					{
    						IP:       "100.101.102.104",
    						Port:     3001,
    						Protocol: strings.ToLower(string(v1.ProtocolSCTP)),
    						SetType:  utilipset.HashIPPort,
    					},
    					{
    						IP:       "100.101.102.105",
    						Port:     3001,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize.cc

                            StringAttr weights_format, BoolAttr keep_num_dims,
                            BoolAttr asymmetric_quantize_inputs) {
      auto fc_op = builder->create<FullyConnectedOp>(
          result[0].getLoc(), result.getTypes(), input, filter, bias,
          fused_activation_function, weights_format, keep_num_dims,
          asymmetric_quantize_inputs);
      return fc_op->getResult(0);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. src/crypto/x509/x509_test.go

    		Subject:   pkix.Name{CommonName: "Cert"},
    		NotBefore: time.Unix(1000, 0),
    		NotAfter:  time.Unix(100000, 0),
    	}
    	for _, serial := range []*big.Int{
    		big.NewInt(0).SetBytes(bytes.Repeat([]byte{5}, 21)),
    		big.NewInt(0).SetBytes(bytes.Repeat([]byte{255}, 20)),
    	} {
    		template.SerialNumber = serial
    		certDER, err := CreateCertificate(rand.Reader, &template, &template, rsaPrivateKey.Public(), rsaPrivateKey)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  6. src/reflect/value.go

    	v.mustBe(Bool)
    	*(*bool)(v.ptr) = x
    }
    
    // SetBytes sets v's underlying value.
    // It panics if v's underlying value is not a slice of bytes.
    func (v Value) SetBytes(x []byte) {
    	v.mustBeAssignable()
    	v.mustBe(Slice)
    	if toRType(v.typ()).Elem().Kind() != Uint8 { // TODO add Elem method, fix mustBe(Slice) to return slice.
    		panic("reflect.Value.SetBytes of non-byte slice")
    	}
    	*(*[]byte)(v.ptr) = x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    LogicalResult TPUExecuteAndUpdateVariablesOp::verify() {
      TPUExecuteAndUpdateVariablesOp op = *this;
      int num_resource_args = 0;
      for (Type arg_type : op.getArgs().getTypes())
        if (arg_type.cast<TensorType>().getElementType().isa<ResourceType>())
          ++num_resource_args;
    
      auto check_attr = [&](ArrayAttr indices, llvm::StringRef name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          auto rt = std::get<1>(it);
          if (rt == std::get<0>(it).getType()) continue;
          std::get<0>(it).setType(rt);
          all_equal = false;
        }
        if (!all_equal) {
          function.setType(mlir::FunctionType::get(function.getContext(),
                                                   func_type.getInputs(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  9. src/crypto/sha512/sha512_test.go

    	sum := make([]byte, bench.Size())
    	b.Run("New", func(b *testing.B) {
    		b.ReportAllocs()
    		b.SetBytes(int64(size))
    		for i := 0; i < b.N; i++ {
    			bench.Reset()
    			bench.Write(buf[:size])
    			bench.Sum(sum[:0])
    		}
    	})
    	b.Run("Sum384", func(b *testing.B) {
    		b.ReportAllocs()
    		b.SetBytes(int64(size))
    		for i := 0; i < b.N; i++ {
    			Sum384(buf[:size])
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	}
    
    	var types strings.Builder
    	if len(cl.Types) == 0 {
    		fmt.Fprintf(&types, "%*sTypes: nil", indent+2, "")
    	} else {
    		fmt.Fprintf(&types, "%*sTypes:", indent+2, "")
    		for i, t := range cl.Types {
    			types.WriteByte('\n')
    			types.WriteString(t.goString(indent+4, fmt.Sprintf("%d: ", i)))
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
Back to top