- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,263 for addOne (0.1 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java
abstract ImmutableActionSet<T> addAll(SetWithManyActions<T> source); abstract ImmutableActionSet<T> addOne(Action<? super T> action); private static class EmptySet<T> extends ImmutableActionSet<T> { @Override ImmutableActionSet<T> addOne(Action<? super T> action) { return new SingletonSet<T>(action); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 11K bytes - Viewed (0) -
src/net/netip/uint128.go
return uint128{^u.hi, ^u.lo} } // subOne returns u - 1. func (u uint128) subOne() uint128 { lo, borrow := bits.Sub64(u.lo, 1, 0) return uint128{u.hi - borrow, lo} } // addOne returns u + 1. func (u uint128) addOne() uint128 { lo, carry := bits.Add64(u.lo, 1, 0) return uint128{u.hi + carry, lo} } // halves returns the two uint64 halves of the uint128. // // Logically, think of it as returning two uint64s.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 07 21:28:44 UTC 2022 - 2.2K bytes - Viewed (0) -
src/go/types/methodset.go
func (s methodSet) add(list []*Func, index []int, indirect bool, multiples bool) methodSet { if len(list) == 0 { return s } for i, f := range list { s = s.addOne(f, concat(index, i), indirect, multiples) } return s } func (s methodSet) addOne(f *Func, index []int, indirect bool, multiples bool) methodSet { if s == nil { s = make(methodSet) } key := f.Id() // if f is not in the set, add it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.1K bytes - Viewed (0) -
src/net/netip/inlining_test.go
"Prefix.Addr", "Prefix.Bits", "AddrFrom4", "IPv6LinkLocalAllNodes", "IPv6Unspecified", "MustParseAddr", "MustParseAddrPort", "MustParsePrefix", "appendDecimal", "appendHex", "uint128.addOne", "uint128.and", "uint128.bitsClearedFrom", "uint128.bitsSetFrom", "uint128.isZero", "uint128.not", "uint128.or", "uint128.subOne", "uint128.xor", } switch runtime.GOARCH {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 2K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke.go
// Message limit is, according to the RFC, 2^95+1, which // is somewhat confusing, but we do as we're told. if s.seqNum.bitLen() >= (s.aead.NonceSize()*8)-1 { panic("message limit reached") } s.seqNum = s.seqNum.addOne() return nonce } func (s *Sender) Seal(aad, plaintext []byte) ([]byte, error) { ciphertext := s.aead.Seal(nil, s.nextNonce(), plaintext, aad) return ciphertext, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis_test.cc
ops::Merge merge(root.WithOpName("ternary"), {predicated_true.output_true, predicated_false.output_false}); Output addend = ops::Placeholder(root.WithOpName("addend"), DT_FLOAT); Output add = ops::Add(root.WithOpName("add"), merge.output, addend); std::unique_ptr<DeadnessAnalysis> result; TF_ASSERT_OK(AnalyzeDeadness(root.graph(), &result)); TF_ASSERT_OK_AND_ASSIGN(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
cmd/erasure-server-pool.go
loi.NextMarker = opts.encodeMarker(last.Name) loi.NextVersionIDMarker = last.VersionID } return loi, nil } func maxKeysPlusOne(maxKeys int, addOne bool) int { if maxKeys < 0 || maxKeys > maxObjectList { maxKeys = maxObjectList } if addOne { maxKeys++ } return maxKeys }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0) -
cluster/addons/addon-manager/kube-addons.sh
ADDON_PATH=${ADDON_PATH:-/etc/kubernetes/addons} # This variable is unused in this file, but not in those that source it. # shellcheck disable=SC2034 SYSTEM_NAMESPACE=kube-system # Addons could use this label with two modes: # - ADDON_MANAGER_LABEL=Reconcile # - ADDON_MANAGER_LABEL=EnsureExists ADDON_MANAGER_LABEL="addonmanager.kubernetes.io/mode" # This label is deprecated (only for Addon Manager). In future release
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Oct 15 05:40:38 UTC 2023 - 10.4K bytes - Viewed (0) -
src/net/netip/netip.go
byteorder.BePutUint64(ret[8:], ip.addr.lo) return ret[:] } } // Next returns the address following ip. // If there is none, it returns the zero [Addr]. func (ip Addr) Next() Addr { ip.addr = ip.addr.addOne() if ip.Is4() { if uint32(ip.addr.lo) == 0 { // Overflowed. return Addr{} } } else { if ip.addr.isZero() { // Overflowed return Addr{} } } return ip }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 43.2K bytes - Viewed (0) -
cluster/gce/manifests/kube-addon-manager.yaml
# - test/kubemark/resources/manifests/kube-addon-manager.yaml image: registry.k8s.io/addon-manager/kube-addon-manager:v9.1.7 command: - /bin/bash - -c - exec /opt/kube-addons-main.sh 1>>/var/log/kube-addon-manager.log 2>&1 resources: requests: cpu: 5m memory: 50Mi volumeMounts: - mountPath: /etc/kubernetes/ name: addons readOnly: true - mountPath: /var/log
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 03:09:15 UTC 2023 - 1.6K bytes - Viewed (0)