Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 650 for sets (0.28 seconds)

  1. guava/src/com/google/common/collect/TreeMultiset.java

       * calls the comparator to compare the two keys. If that change is made,
       * AbstractMultiset.equals() can simply check whether two multisets have equal entry sets.
       */
    
      /**
       * @serialData the comparator, the number of distinct elements, the first element, its count, the
       *     second element, its count, and so on
       */
      @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/parse.go

    	p.get(')')
    	p.setPseudoRegister(a, reg, isStatic, prefix)
    }
    
    // setPseudoRegister sets the NAME field of addr for a pseudo-register reference such as (SB).
    func (p *Parser) setPseudoRegister(addr *obj.Addr, reg string, isStatic bool, prefix rune) {
    	if addr.Reg != 0 {
    		p.errorf("internal error: reg %s already set in pseudo", reg)
    	}
    	switch reg {
    	case "FP":
    		addr.Name = obj.NAME_PARAM
    	case "PC":
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  3. cmd/encryption-v1.go

    	return err
    }
    
    // EncryptRequest takes the client provided content and encrypts the data
    // with the client provided key. It also marks the object as client-side-encrypted
    // and sets the correct headers.
    func EncryptRequest(content io.Reader, r *http.Request, bucket, object string, metadata map[string]string) (io.Reader, crypto.ObjectKey, error) {
    	if r.ContentLength > encryptBufferThreshold {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testFrequency_set() {
        Set<String> set = newHashSet("a", "b", "c");
        assertEquals(1, frequency(set, "a"));
        assertEquals(1, frequency(set, "b"));
        assertEquals(1, frequency(set, "c"));
        assertEquals(0, frequency(set, "d"));
        assertEquals(0, frequency(set, 4.2));
        assertEquals(0, frequency(set, null));
      }
    
      public void testFrequency_list() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      @VisibleForTesting
      static <E extends @Nullable Object> Set<E> set(Set<E> set, @Nullable Object mutex) {
        return new SynchronizedSet<>(set, mutex);
      }
    
      static class SynchronizedSet<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements Set<E> {
    
        SynchronizedSet(Set<E> delegate, @Nullable Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Synchronized.java

      }
    
      @VisibleForTesting
      static <E extends @Nullable Object> Set<E> set(Set<E> set, @Nullable Object mutex) {
        return new SynchronizedSet<>(set, mutex);
      }
    
      static class SynchronizedSet<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements Set<E> {
    
        SynchronizedSet(Set<E> delegate, @Nullable Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  7. cmd/batch-handlers.go

    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, endpoint, bytes.NewReader(buf))
    	if err != nil {
    		return err
    	}
    
    	if token != "" {
    		req.Header.Set("Authorization", token)
    	}
    	req.Header.Set("Content-Type", "application/json")
    
    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  8. cmd/admin-handlers.go

    	owner := cred.AccessKey == globalActiveCred.AccessKey
    
    	// Set prefix value for "s3:prefix" policy conditionals.
    	r.Header.Set("prefix", "")
    
    	// Set delimiter value for "s3:delimiter" policy conditionals.
    	r.Header.Set("delimiter", SlashSeparator)
    
    	isAllowedAccess := func(bucketName string) (rd, wr bool) {
    		if globalIAMSys.IsAllowed(policy.Args{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  9. cmd/metrics-v2.go

    		Help:      "Get current health status for this erasure set",
    		Type:      gaugeMetric,
    	}
    }
    
    func getClusterErasureSetReadQuorumMD() MetricDescription {
    	return MetricDescription{
    		Namespace: clusterMetricNamespace,
    		Subsystem: "health",
    		Name:      "erasure_set_read_quorum",
    		Help:      "Get the read quorum for this erasure set",
    		Type:      gaugeMetric,
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  10. cmd/site-replication.go

    	numSites := len(sris)
    	allBuckets := set.NewStringSet() // across sites
    	allUsers := set.NewStringSet()
    	allUserWPolicies := set.NewStringSet()
    	allGroups := set.NewStringSet()
    	allGroupWPolicies := set.NewStringSet()
    	allILMExpiryRules := set.NewStringSet()
    
    	allPolicies := set.NewStringSet()
    	for _, sri := range sris {
    		for b := range sri.Buckets {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
Back to Top