Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,291 for results2 (0.05 seconds)

  1. android/guava/src/com/google/common/io/ByteSource.java

              return Optional.of(Long.MAX_VALUE);
            }
          }
          return Optional.of(result);
        }
    
        @Override
        public long size() throws IOException {
          long result = 0L;
          for (ByteSource source : sources) {
            result += source.size();
            if (result < 0) {
              // Overflow (or one or more sources that returned a negative size, but all bets are off in
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result) {
        return (ListenableFuture<T>) super.submit(task, result);
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 17:47:46 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. cmd/warm-backend-s3.go

    	return s3.ToObjectError(err, object)
    }
    
    func (s3 *warmBackendS3) InUse(ctx context.Context) (bool, error) {
    	result, err := s3.core.ListObjectsV2(s3.Bucket, s3.Prefix, "", "", slashSeparator, 1)
    	if err != nil {
    		return false, s3.ToObjectError(err)
    	}
    	return len(result.CommonPrefixes) > 0 || len(result.Contents) > 0, nil
    }
    
    func newWarmBackendS3(conf madmin.TierS3, tier string) (*warmBackendS3, error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jun 08 16:13:30 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            }).orElse(StringUtil.EMPTY_STRINGS);
        }
    
        /**
         * Retrieves or creates the result document IDs cache from the session.
         * The cache is implemented as an LRU map to limit memory usage.
         *
         * @param session the HTTP session
         * @return the result document IDs cache map
         */
        private Map<String, String[]> getResultDocIdsCache(final HttpSession session) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/site/apt/offline-mode.apt

      In the event the '-o' switch is the impetus for setting offline mode, this
      should result in modification of the active profile in the MavenSettings
      instance, just as definition of the active profile from the command-line
      should result in similar modification. This object is not meant to be
      static within the build process, but rather to be setup as an aggregation of
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

            ByteArrayInputStream underlyingStream = new ByteArrayInputStream(data);
            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    
            String result = stream.toString();
            assertNotNull(result);
            assertTrue(result.contains("ByteArrayInputStream"));
        }
    
        public void test_multipleCloseCallsDoNothing() throws IOException {
            // Test that multiple close() calls are all ignored
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

          }
    
          @Override
          public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception {
            Map<K, V> result = new HashMap<>(); // allow nulls
            for (K key : keys) {
              result.put(key, load(key));
            }
            return result;
          }
        };
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java

         *
         * @param session The repository session, must not be {@code null}.
         * @param artifactCoordinates The artifact coordinates for which the version needs to be resolved, must not be {@code null}
         * @return The version result, never {@code null}.
         * @throws VersionResolverException If the metaversion could not be resolved.
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

    import okhttp3.Request
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.Platform
    
    /**
     * Example of using a hardware key to perform client auth.
     * Prefer recent JDK builds, and results are temperamental to slight environment changes.
     * Different instructions and configuration may be required for other hardware devices.
     *
     * Using a yubikey device as a SSL key store.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

                NegTokenInit original = new NegTokenInit(mechs, flags, mechToken, mic);
                byte[] firstEncoding = original.toByteArray();
    
                // Multiple round-trips should produce identical results
                NegTokenInit parsed1 = new NegTokenInit(firstEncoding);
                byte[] secondEncoding = parsed1.toByteArray();
    
                NegTokenInit parsed2 = new NegTokenInit(secondEncoding);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top