- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for newBar (0.24 sec)
-
src/runtime/slice.go
// gives a smooth-ish transition between the two. newcap += (newcap + 3*threshold) >> 2 // We need to check `newcap >= newLen` and whether `newcap` overflowed. // newLen is guaranteed to be larger than zero, hence // when newcap overflows then `uint(newcap) > uint(newLen)`. // This allows to check for both with the same comparison. if uint(newcap) >= uint(newLen) { break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc
arg_type = quantize_output.getType(); new_arg = block.addArgument(arg_type, loc); quantize_output.replaceAllUsesWith(new_arg); } else if (input_type.isUnsignedInteger( current_type.getIntOrFloatBitWidth())) { // int8 != uint8 arg_type = quant::ConvertSignedQuantizedToUnsigned( quantize_output.getType(), loc); new_arg = block.addArgument(arg_type, loc);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelPathTranslator.java
} private Resource alignToBaseDirectory(Resource resource, Path basedir) { if (resource != null) { String newDir = alignToBaseDirectory(resource.getDirectory(), basedir); if (newDir != null) { return resource.withDirectory(newDir); } } return resource; } private String alignToBaseDirectory(String path, Path basedir) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 4.7K bytes - Viewed (0) -
src/crypto/aes/ctr_s390x.go
storage [streamBufferSize]byte // array backing buffer slice } // NewCTR returns a Stream which encrypts/decrypts using the AES block // cipher in counter mode. The length of iv must be the same as [BlockSize]. func (c *aesCipherAsm) NewCTR(iv []byte) cipher.Stream { if len(iv) != BlockSize { panic("cipher.NewCTR: IV length must equal block size") } var ac aesctr ac.block = c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 2.4K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
methods := make([]*types.Func, iface.NumExplicitMethods()) for i := range methods { fn := iface.ExplicitMethod(i) sig := fn.Type().(*types.Signature) recv := types.NewVar(fn.Pos(), fn.Pkg(), "", named) methods[i] = types.NewFunc(fn.Pos(), fn.Pkg(), fn.Name(), types.NewSignature(recv, sig.Params(), sig.Results(), sig.Variadic())) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
// type error interface{ Error() string } { obj := NewTypeName(nopos, nil, "error", nil) obj.setColor(black) typ := NewNamed(obj, nil, nil) // error.Error() string recv := NewVar(nopos, nil, "", typ) res := NewVar(nopos, nil, "", Typ[String]) sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false) err := NewFunc(nopos, nil, "Error", sig) // interface{ Error() string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/universe.go
// type error interface{ Error() string } { obj := NewTypeName(nopos, nil, "error", nil) obj.setColor(black) typ := NewNamed(obj, nil, nil) // error.Error() string recv := NewVar(nopos, nil, "", typ) res := NewVar(nopos, nil, "", Typ[String]) sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false) err := NewFunc(nopos, nil, "Error", sig) // interface{ Error() string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
{ Block &entry_block = outlined_func.getBody().front(); auto loc = outlined_func.getLoc(); for (Value operand : operands) { BlockArgument newArg = entry_block.addArgument(operand.getType(), loc); replaceAllUsesInRegionWith(operand, newArg, outlined_func.getBody()); } } // The function is in place in the nested module, create a call and yield in // the original island.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go
// golang.org/x/telemetry/counter.Open. func Open(telemetryDir string) { openedMu.Lock() defer openedMu.Unlock() if opened { panic("Open was called more than once") } telemetry.Default = telemetry.NewDir(telemetryDir) counter.Open() opened = true } // ReadCounter reads the given counter. func ReadCounter(c *counter.Counter) (count uint64, _ error) { return ic.Read(c) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
auto quantize_output = quantize_op.getOutput(); auto quantize_type = quantize_output.getType(); input_types.push_back(quantize_type); auto new_arg = bb.addArgument(quantize_type, loc); quantize_output.replaceAllUsesWith(new_arg); quantize_op.erase(); arg.dropAllUses(); bb.eraseArgument(0); }; // This is looking for a pattern: arg -> tfl.quantize
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0)