Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 325 for queries (0.84 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

            queries[i] = PRESENT;
          } else {
            queries[i] = ABSENT;
          }
        }
      }
    
      @Benchmark
      public boolean contains(int reps) {
        ImmutableSet<?>[] sets = this.sets;
        Object[] queries = this.queries;
        boolean result = false;
        for (int i = 0; i < reps; i++) {
          int j = i & 0xFFF;
          result ^= sets[j].contains(queries[j]);
        }
        return result;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        Set<Feature<?>> entrySetFeatures = computeCommonDerivedCollectionFeatures(mapFeatures);
        if (mapFeatures.contains(MapFeature.ALLOWS_NULL_ENTRY_QUERIES)) {
          entrySetFeatures.add(CollectionFeature.ALLOWS_NULL_QUERIES);
        }
        return entrySetFeatures;
      }
    
      private static Set<Feature<?>> computeKeySetFeatures(Set<Feature<?>> mapFeatures) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                .named("synchronized ArrayListMultimap")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    CollectionSize.ANY)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

        }
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUE_QUERIES})
      public void testReplaceEntry_nullDifferentFromAbsent() {
        assertFalse(getMap().replace(k3(), null, v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testReplaceEntry_expectNullUnsupported() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. cmd/api-resources.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/base64"
    	"net/url"
    	"strconv"
    )
    
    // Parse bucket url queries
    func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-keys") != "" {
    		var err error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(0, getMultiset().count(null));
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_QUERIES})
      public void testRemove_nullAbsent() {
        assertEquals(0, getMultiset().remove(null, 2));
      }
    
      @CollectionFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_QUERIES)
      public void testRemove_nullForbidden() {
        try {
          getMultiset().remove(null, 2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

            final Map<String, String[]> map = relatedQueryMap.get(key);
            if (map != null) {
                final String[] queries = map.get(toLowerCase(query));
                if (queries != null) {
                    return queries;
                }
            }
            return StringUtil.EMPTY_STRINGS;
        }
    
        private String toLowerCase(final String term) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

            relatedQueryService.getRelatedQuery(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
                    copyOp.excludeNull();
                    copyOp.exclude(Constants.QUERIES);
                });
                form.queries =
                        stream(entity.getQueries()).get(stream -> stream.filter(StringUtil::isNotBlank).collect(Collectors.joining("\n")));
            }).orElse(() -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14K bytes
    - Viewed (0)
Back to top