Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 363 for revs (0.04 sec)

  1. pkg/controller/statefulset/stateful_set_utils.go

    		if podScaledDown {
    			refs = addControllerRef(refs, pod, podKind)
    		}
    		if !podScaledDown {
    			refs = addControllerRef(refs, set, controllerKind)
    		}
    	}
    	claim.SetOwnerReferences(refs)
    }
    
    // hasOwnerRef returns true if target has an ownerRef to owner (as its UID).
    // This does not check if the owner is a controller.
    func hasOwnerRef(target, owner metav1.Object) bool {
    	ownerUID := owner.GetUID()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

        random.nextBytes(testBytes);
      }
    
      @Benchmark
      int hasher(int reps) {
        HashFunction hashFunction = hashFunctionEnum.getHashFunction();
        int result = 37;
        for (int i = 0; i < reps; i++) {
          result ^= hashFunction.newHasher().putBytes(testBytes).hash().asBytes()[0];
        }
        return result;
      }
    
      @Benchmark
      int hashFunction(int reps) {
        HashFunction hashFunction = hashFunctionEnum.getHashFunction();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/vcstest/git/v2sub.txt

    git tag v2.0.0
    
    at 2022-02-22T15:55:07-05:00
    git add README.txt
    git commit -m 'v2sub: add README.txt'
    
    git show-ref --tags --heads
    cmp stdout .git-refs
    
    -- .git-refs --
    80beb17a16036f17a5aedd1bb5bd6d407b3c6dc5 refs/heads/main
    5fcd3eaeeb391d399f562fd45a50dac9fc34ae8b refs/tags/v2.0.0
    -- v2/go.mod --
    module vcs-test.golang.org/git/v2sub.git/v2
    
    go 1.16
    -- v2/v2sub.go --
    package v2sub
    -- v2sub.go --
    package v2sub
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 773 bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

             */
    
            CacheEntry<DfsReferralDataInternal> refs;
            synchronized ( this.referralsLock ) {
                refs = this.referrals;
                if ( refs == null || now > refs.expiration ) {
                    refs = new CacheEntry<>(0);
                }
                this.referrals = refs;
            }
            String key = "\\" + domain + "\\" + root;
            if ( !path.equals("\\") ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/os/exec.go

    	if p.mode != modeHandle {
    		panic("handleTransientAcquire called in invalid mode")
    	}
    
    	for {
    		refs := p.state.Load()
    		if refs&processStatusMask != 0 {
    			return 0, processStatus(refs & processStatusMask)
    		}
    		new := refs + 1
    		if !p.state.CompareAndSwap(refs, new) {
    			continue
    		}
    		return p.handle, statusOK
    	}
    }
    
    func (p *Process) handleTransientRelease() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. pilot/pkg/config/monitor/file_snapshot.go

    	configs, _, err := crd.ParseInputs(string(data))
    
    	// Convert to an array of pointers.
    	refs := make([]*config.Config, len(configs))
    	for i := range configs {
    		refs[i] = &configs[i]
    		refs[i].Domain = domainSuffix
    	}
    	return refs, err
    }
    
    // byKey is an array of config objects that is capable or sorting by Namespace, GroupVersionKind, and Name.
    type byKey []*config.Config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/mvs/mvs_test.go

    				list, err := Req(m(kf[1]), kf[2:], reqs)
    				checkList(t, key, list, err, val)
    			})
    			continue
    		}
    		if len(kf) == 1 && 'A' <= key[0] && key[0] <= 'Z' {
    			var rs []module.Version
    			for _, f := range strings.Fields(val) {
    				r := m(f)
    				if reqs[r] == nil {
    					reqs[r] = []module.Version{}
    				}
    				rs = append(rs, r)
    			}
    			reqs[m(key)] = rs
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:26 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/deployment/builder.go

    	if err := assignRefs(b.refs, instances); err != nil {
    		return nil, err
    	}
    
    	// safely merge instances from all kinds of cluster into one list
    	return instances, nil
    }
    
    func assignRefs(refs []*echo.Instance, instances echo.Instances) error {
    	if len(refs) != len(instances) {
    		return fmt.Errorf("cannot set %d references, only %d instances were built", len(refs), len(instances))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/reduceGraph.kt

        val reducing = hashSetOf<V>()
    
        fun reduce(node: V, refs: Iterable<V>): Set<V> {
    
            result[node]?.let {
                return it
            }
    
            val externalNodes = mutableSetOf<V>()
            result[node] = externalNodes
    
            reducing.add(node)
            for (ref in refs) {
                if (ref in reducing) {
                    continue
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      void charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
      }
    
      @Benchmark
      void stringSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(STRING_SPLITTER.split(input));
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.7K bytes
    - Viewed (0)
Back to top