Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for instance (0.21 sec)

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

        Iterator<Integer> source = asList(1, 2, 3).iterator();
        Iterator<List<Integer>> partitions = Iterators.partition(source, 2);
        assertTrue(partitions.next() instanceof RandomAccess);
        assertTrue(partitions.next() instanceof RandomAccess);
      }
    
      public void testPaddedPartition_badSize() {
        Iterator<Integer> source = singletonIterator(1);
        try {
          Iterators.paddedPartition(source, 0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                }
                final Object trackTotalHitsValue = fessConfig.getQueryTrackTotalHitsValue();
                if (trackTotalHitsValue instanceof Boolean) {
                    searchRequestBuilder.setTrackTotalHits((Boolean) trackTotalHitsValue);
                } else if (trackTotalHitsValue instanceof Number) {
                    searchRequestBuilder.setTrackTotalHitsUpTo(((Number) trackTotalHitsValue).intValue());
                }
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<Integer> source = asList(1, 2, 3).iterator();
        Iterator<List<Integer>> partitions = Iterators.partition(source, 2);
        assertTrue(partitions.next() instanceof RandomAccess);
        assertTrue(partitions.next() instanceof RandomAccess);
      }
    
      public void testPaddedPartition_badSize() {
        Iterator<Integer> source = Iterators.singletonIterator(1);
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            }
    
            return result;
        }
    
        private DefaultModelBuilderResult asDefaultModelBuilderResult(ModelBuilderResult phaseOneResult) {
            if (phaseOneResult instanceof DefaultModelBuilderResult) {
                return (DefaultModelBuilderResult) phaseOneResult;
            } else {
                return new DefaultModelBuilderResult(phaseOneResult);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
                        value = stream((String[]) value).get(stream -> stream.collect(Collectors.joining("\n")));
                    } else if (value instanceof List) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

        assertThat(units).containsExactly(SomeEnum.B, SomeEnum.D).inOrder();
    
        Set<SomeEnum> copy = SerializableTester.reserializeAndAssert(units);
        assertTrue(copy instanceof ImmutableEnumSet);
      }
    
      public void testImmutableEnumSet_fromIterable() {
        ImmutableSet<SomeEnum> none = Sets.immutableEnumSet(MinimalIterable.<SomeEnum>of());
        assertThat(none).isEmpty();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    				Description:    "The specified target bucket does not exist",
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    	// if both source and target are minio instances
    	minioType := r.Target.Type == BatchJobReplicateResourceMinIO && r.Source.Type == BatchJobReplicateResourceMinIO
    	// If source has versioning enabled, target must have versioning enabled
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * constructors. For example, there's no API to compose a URI with a custom port without also
     * providing a query and fragment.
     *
     * Instances of [HttpUrl] are well-formed and always have a scheme, host, and path. With
     * `java.net.URL` it's possible to create an awkward URL like `http:/` with scheme and path but no
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  9. cmd/erasure-server-pool.go

    // that all buckets are present on all serverPools.
    func (z *erasureServerPools) ListBuckets(ctx context.Context, opts BucketOptions) (buckets []BucketInfo, err error) {
    	if opts.Cached {
    		listBucketsCache.InitOnce(time.Second,
    			cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    			func() ([]BucketInfo, error) {
    				ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    				defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/jquery-3.6.3.min.js

    fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:S,!0)),N.test(r[1])&&E.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=S.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 87.8K bytes
    - Viewed (3)
Back to top