- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 71 for unwrapping (0.17 sec)
-
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
const ParamGeneratorInterface<T>* const base_; typename ContainerType::const_iterator iterator_; // A cached value of *iterator_. We keep it here to allow access by // pointer in the wrapping iterator's operator->(). // value_ needs to be mutable to be accessed in Current(). // Use of scoped_ptr helps manage cached value's lifetime, // which is bound by the lifespan of the iterator itself.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 23.6K bytes - Viewed (0) -
src/slices/slices.go
// The follow-cycles algorithm can be 1-write but it is not very cache friendly. // rotateLeft rotates s left by r spaces. // s_final[i] = s_orig[i+r], wrapping around. func rotateLeft[E any](s []E, r int) { Reverse(s[:r]) Reverse(s[r:]) Reverse(s) } func rotateRight[E any](s []E, r int) { rotateLeft(s, len(s)-r) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 29 14:01:59 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
is_op_calling_func_for_cluster, llvm::SmallDenseMap<StringRef, llvm::SmallDenseSet<Operation*>>& cluster_to_tpu_ops_map, Operation* op, bool* changed) { // Find the first island wrapping a single operation with the // `_replication_info` attribute, it'll be used as the root of the algorithm // to find the other operations that are part of the same cluster. IslandOp island = dyn_cast<IslandOp>(*op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/obj9.go
// of the form: 0..01..10..0 or 1..10..01..1 or 1...1 func isPPC64DoublewordRotateMask(v64 int64) bool { // Isolate rightmost 1 (if none 0) and add. v := uint64(v64) vp := (v & -v) + v // Likewise, for the wrapping case. vn := ^v vpn := (vn & -vn) + vn return (v&vp == 0 || vn&vpn == 0) && v != 0 } // Encode a doubleword rotate mask into mb (mask begin) and // me (mask end, inclusive). Note, POWER ISA labels bits in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0) -
src/runtime/profbuf.go
break } // Otherwise we're racing to increment against reader // who wants to set b.overflow to 0. // Out of paranoia, leave 2³²-1 a sticky overflow value, // to avoid wrapping around. Extremely unlikely. if int32(overflow) == -1 { break } if b.overflow.CompareAndSwap(overflow, overflow+1) { break } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 18.2K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go
} visitors = append(visitors, visitor) return nil }) if err != nil { return nil, err } return visitors, nil } // FileVisitor is wrapping around a StreamVisitor, to handle open/close files type FileVisitor struct { Path string *StreamVisitor } // Visit in a FileVisitor is just taking care of opening/closing files
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 21.3K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
// outerfn is the enclosing function, if any. The returned function is // appending to pkg.Funcs. // // why is the reason we're generating this Func. It can be OCLOSURE // (for a normal function literal) or OGO or ODEFER (for wrapping a // call expression that has parameters or results). func NewClosureFunc(fpos, cpos src.XPos, why Op, typ *types.Type, outerfn *Func, pkg *Package) *Func { fn := NewFunc(fpos, fpos, closureName(outerfn, cpos, why), typ)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/strconv/atof_test.go
benchmarksRandomBits [1024]string benchmarksRandomNormal [1024]string ) func initAtof() { atofOnce.Do(initAtofOnce) } func initAtofOnce() { // The atof routines return NumErrors wrapping // the error and the string. Convert the table above. for i := range atoftests { test := &atoftests[i] if test.err != nil { test.err = &NumError{"ParseFloat", test.in, test.err} } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 16:24:57 UTC 2022 - 23.6K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/object.h
/// If the `key` is not found in the object, the object's "__parent__" /// attribute is then searched. /// /// @tparam T The desired return type. /// @param key The key to look up. /// @return `StatusOr` wrapping the key's value. template <class T = Handle> tensorflow::StatusOr<T> Get(const String& key) { auto& dict = value_.dict(); auto it = dict.find(key.value_); if (it != dict.end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 23.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
threadFail("should throw " + exceptionName); } /** * Records the given exception using {@link #threadRecordFailure}, then rethrows the exception, * wrapping it in an AssertionFailedError if necessary. */ public void threadUnexpectedException(Throwable t) { threadRecordFailure(t); t.printStackTrace();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 37.7K bytes - Viewed (0)