Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 2,065 for set2 (0.04 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

      }
    
      /**
       * Construct a new {@link java.util.Set} that is the intersection of the given sets.
       *
       * @deprecated Use {@link com.google.common.collect.Sets#intersection(Set, Set)} instead.
       */
      @Deprecated
      public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) {
        Set<T> result = copyToSet(set1);
        result.retainAll(set2);
        return result;
      }
    
      private FeatureUtil() {}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(set.containsAll(Sets.newTreeSet()));
        assertTrue(set.containsAll(Sets.newTreeSet(asList("b"))));
        assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "f"))));
        assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "b", "f"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("d"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("z"))));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 45.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Maps.java

          Set<K> set, Function<? super K, V> function) {
        return new AsMapView<>(set, function);
      }
    
      /**
       * Returns a view of the sorted set as a map, mapping keys from the set according to the specified
       * function.
       *
       * <p>Specifically, for each {@code k} in the backing set, the returned map has an entry mapping
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Maps.java

          Set<K> set, Function<? super K, V> function) {
        return new AsMapView<>(set, function);
      }
    
      /**
       * Returns a view of the sorted set as a map, mapping keys from the set according to the specified
       * function.
       *
       * <p>Specifically, for each {@code k} in the backing set, the returned map has an entry mapping
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  5. clause/set.go

    }
    
    // MergeClause merge assignments clauses
    func (set Set) MergeClause(clause *Clause) {
    	copiedAssignments := make([]Assignment, len(set))
    	copy(copiedAssignments, set)
    	clause.Expression = Set(copiedAssignments)
    }
    
    // Assignments implements Assigner for Set.
    func (set Set) Assignments() []Assignment { return []Assignment(set) }
    
    func Assignments(values map[string]interface{}) Set {
    	keys := make([]string, 0, len(values))
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Sep 09 01:34:33 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       *   private static final class FooFactoryForTest {
       *     public static Foo create(String a, String b, int c, boolean d) {
       *       return Foo.builder()
       *           .setA(a)
       *           .setB(b)
       *           .setC(c)
       *           .setD(d)
       *           .build();
       *     }
       *   }
       *
       *   public void testEquals() {
       *     new ClassSanityTester()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  7. cmd/metacache-set.go

    	// Retention configuration, needed to be passed along with lifecycle if set.
    	Retention lock.Retention `msg:"-"`
    
    	// Replication configuration
    	Replication replicationConfig `msg:"-"`
    
    	// StopDiskAtLimit will stop listing on each disk when limit number off objects has been returned.
    	StopDiskAtLimit bool
    
    	// pool and set of where the cache is located.
    	pool, set int
    }
    
    func init() {
    	gob.Register(listPathOptions{})
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  8. cmd/erasure-sets.go

    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-timer.C:
    			var wg sync.WaitGroup
    			for _, set := range s.sets {
    				wg.Add(1)
    				go func(set *erasureObjects) {
    					defer wg.Done()
    					if set == nil {
    						return
    					}
    					set.cleanupDeletedObjects(ctx)
    				}(set)
    			}
    			wg.Wait()
    
    			// Reset for the next interval
    			timer.Reset(globalAPIConfig.getDeleteCleanupInterval())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  9. cmd/metrics-v3-cluster-erasure-set.go

    		labels := []string{poolIDL, poolLV, setIDL, setLV}
    		m.Set(erasureSetReadQuorum, float64(h.ReadQuorum), labels...)
    		m.Set(erasureSetWriteQuorum, float64(h.WriteQuorum), labels...)
    		m.Set(erasureSetOnlineDrivesCount, float64(h.HealthyDrives), labels...)
    		m.Set(erasureSetHealingDrivesCount, float64(h.HealingDrives), labels...)
    		m.Set(erasureSetHealth, b2f(h.Healthy), labels...)
    
    		readHealthy := true
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 14 07:25:56 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            long seq1 = registration.getNextSequenceNumber();
            long seq2 = registration.getNextSequenceNumber();
            long seq3 = registration.getNextSequenceNumber();
    
            assertEquals(1, seq1);
            assertEquals(2, seq2);
            assertEquals(3, seq3);
            assertTrue(seq2 > seq1);
            assertTrue(seq3 > seq2);
        }
    
        @Test
        void testHeartbeatUpdate() throws InterruptedException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top