Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,237 for setS (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          }
        }
        shuffle(queryList, random);
        return queryList.toArray(new Element[0]);
      }
    
      private Set<Element> createData() {
        Set<Element> set = Sets.newHashSetWithExpectedSize(size);
        while (set.size() < size) {
          set.add(newElement());
        }
        return set;
      }
    
      private Element newElement() {
        int value = random.nextInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    		// The timezone is only non-UTC if a user directly sets the Modified
    		// field directly themselves. All other approaches sets UTC.
    		fh.ModifiedDate, fh.ModifiedTime = timeToMsDosTime(fh.Modified)
    
    		// Use "extended timestamp" format since this is what Info-ZIP uses.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. cmd/background-newdisks-heal-ops.go

    	tracker.setQueuedBuckets(buckets)
    	if err := tracker.save(ctx); err != nil {
    		return err
    	}
    
    	// Start or resume healing of this erasure set
    	if err = z.serverPools[poolIdx].sets[setIdx].healErasureSet(ctx, tracker.QueuedBuckets, tracker); err != nil {
    		return err
    	}
    
    	// if objects have failed healing, we attempt a retry to heal the drive upto 3 times before giving up.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        for (Collection<V> valueCollection : multimap().asMap().values()) {
          assertTrue(valueCollection instanceof Set);
        }
      }
    
      public void testAsMapGetImplementsSet() {
        for (K key : multimap().keySet()) {
          assertTrue(multimap().asMap().get(key) instanceof Set);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Sets.newHashSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Joiner;
    import com.google.common.collect.testing.MapInterfaceTest;
    import com.google.common.collect.testing.MinimalSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Sets.newHashSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Joiner;
    import com.google.common.collect.testing.SortedMapInterfaceTest;
    import java.util.Map;
    import java.util.Map.Entry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) {
        Set<MethodSignature> required = getAllRequiredToFauxveride(ancestor);
        Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor);
        Set<MethodSignature> missing = ImmutableSortedSet.copyOf(difference(required, found));
        if (!missing.isEmpty()) {
          fail(
              rootLocaleFormat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) {
        Set<MethodSignature> required = getAllRequiredToFauxveride(ancestor);
        Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor);
        Set<MethodSignature> missing = ImmutableSortedSet.copyOf(difference(required, found));
        if (!missing.isEmpty()) {
          fail(
              rootLocaleFormat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

    import java.util.List;
    import java.util.Set;
    
    /**
     * Create string sets for collection tests.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSetGenerator implements TestSetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Set<String> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top