Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 2,379 for sect (0.08 sec)

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

          this.delegate = delegate;
        }
    
        @Override
        protected Map<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public Set<K> keySet() {
          return new ForwardingSet<K>() {
            @Override
            protected Set<K> delegate() {
              return delegate.keySet();
            }
    
            @Override
            public Iterator<K> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

    import java.util.Collections;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Encapsulates the constraints that a class under test must satisfy in order for a tester method to
     * be run against that class.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public final class TesterRequirements {
      private final Set<Feature<?>> presentFeatures;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. internal/bucket/replication/rule.go

    type DeleteMarkerReplication struct {
    	Status Status `xml:"Status"` // should be set to "Disabled" by default
    }
    
    // IsEmpty returns true if DeleteMarkerReplication is not set
    func (d DeleteMarkerReplication) IsEmpty() bool {
    	return len(d.Status) == 0
    }
    
    // Validate validates whether the status is disabled.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  @Override
                  public SortedSet<String> create(String[] elements) {
                    SortedSet<String> set = new TreeSet<>(arbitraryNullFriendlyComparator());
                    Collections.addAll(set, elements);
                    return set;
                  }
                })
            .named("TreeSet, with comparator")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. internal/config/lambda/event/targetidset_test.go

    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result)
    		}
    
    		result.add(testCase.targetIDToAdd)
    		if reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestTargetIDSetUnion(t *testing.T) {
    	testCases := []struct {
    		set            TargetIDSet
    		setToAdd       TargetIDSet
    		expectedResult TargetIDSet
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                            tokenizerTimestamp = dictionaryTimestamp;
                            userDictionaryField.set(tokenizer, userDictionary);
                            final TokenInfoFST userFst = userDictionary.getFST();
                            userFSTField.set(tokenizer, userFst);
                            userFSTReaderField.set(tokenizer, userFst.getBytesReader());
                            @SuppressWarnings("unchecked")
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. tests/main_test.go

    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

          super.putAll(map);
        }
    
        @Override
        public Set<K> keySet() {
          assertTrue(Thread.holdsLock(mutex));
          return super.keySet();
        }
    
        @Override
        public Collection<V> values() {
          assertTrue(Thread.holdsLock(mutex));
          return super.values();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        testers.add(MultisetIteratorTester.class);
        testers.add(MultisetSerializationTester.class);
        return testers;
      }
    
      private static Set<Feature<?>> computeEntrySetFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> derivedFeatures = new HashSet<>(features);
        derivedFeatures.remove(CollectionFeature.GENERAL_PURPOSE);
        derivedFeatures.remove(CollectionFeature.SUPPORTS_ADD);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractBaseGraph.java

      }
    
      protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) {
        return InvalidatableSet.of(
            set, () -> nodes().contains(node), () -> String.format(NODE_REMOVED_FROM_GRAPH, node));
      }
    
      protected final <T> Set<T> nodePairInvalidatableSet(Set<T> set, N nodeU, N nodeV) {
        return InvalidatableSet.of(
            set,
            () -> nodes().contains(nodeU) && nodes().contains(nodeV),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top