Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for set4 (4 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}.
       */
      public static <E extends @Nullable Object> SetView<E> union(
          final Set<? extends E> set1, final Set<? extends E> set2) {
        checkNotNull(set1, "set1");
        checkNotNull(set2, "set2");
    
        return new SetView<E>() {
          @Override
          public int size() {
            int size = set1.size();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        Set<String> set1 = Sets.newHashSet(elements);
                        set1.add(samples().e3());
                        Set<String> set2 = Sets.newHashSet(elements);
                        set2.add(samples().e4());
                        return Sets.intersection(set1, set2);
                      }
                    })
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SetsTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        Set<String> set1 = Sets.newHashSet(elements);
                        set1.add(samples().e3());
                        Set<String> set2 = Sets.newHashSet(elements);
                        set2.add(samples().e4());
                        return Sets.intersection(set1, set2);
                      }
                    })
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  4. 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())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of("a", "b", "c");
        assertEquals(set, Sets.newTreeSet(asList("a", "b", "c")));
        assertEquals(Sets.newTreeSet(asList("a", "b", "c")), set);
        assertFalse(set.equals(Sets.newTreeSet(asList("a", "b", "d"))));
        assertFalse(Sets.newTreeSet(asList("a", "b", "d")).equals(set));
        assertFalse(set.equals(Sets.newHashSet(4, 5, 6)));
        assertFalse(Sets.newHashSet(4, 5, 6).equals(set));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  6. 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{})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       *   private static 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()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       *   private static 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()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. src/time/zoneinfo_read.go

    		zheadersize = 30
    		zheader     = 0x04034b50
    	)
    
    	buf := make([]byte, ztailsize)
    	if err := preadn(fd, buf, -ztailsize); err != nil || get4(buf) != zecheader {
    		return nil, errors.New("corrupt zip file " + zipfile)
    	}
    	n := get2(buf[10:])
    	size := get4(buf[12:])
    	off := get4(buf[16:])
    
    	buf = make([]byte, size)
    	if err := preadn(fd, buf, off); err != nil {
    		return nil, errors.New("corrupt zip file " + zipfile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. src/go/types/example_test.go

    	fmt.Printf("Method set of %s:\n", styp)
    	fmt.Println(types.NewMethodSet(styp))
    
    	// Output:
    	// Method set of temperature.Celsius:
    	// method (temperature.Celsius) String() string
    	//
    	// Method set of *temperature.Celsius:
    	// method (*temperature.Celsius) SetF(f float64)
    	// method (*temperature.Celsius) String() string
    	//
    	// Method set of temperature.S:
    	// MethodSet {}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top