Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 842 for unavailable (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

      @Param({"1", "5", "25", "125"})
      int count;
    
      @Param({"1", "10"})
      int length;
    
      private String originalString;
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        originalString = Strings.repeat("x", length);
      }
    
      @Benchmark
      void oldRepeat(long reps) {
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      int count;
    
      @Param({"0", "1", "16", "32", "100"})
      int componentLength;
    
      private Iterable<String> components;
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64();
    
      // If this test fails, all bets are off
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessNotification.java

        // Notification flags
        /** Resource state is unknown */
        public static final int WITNESS_RESOURCE_STATE_UNKNOWN = 0x00000000;
        /** Resource is available for use */
        public static final int WITNESS_RESOURCE_STATE_AVAILABLE = 0x00000001;
        /** Resource is unavailable */
        public static final int WITNESS_RESOURCE_STATE_UNAVAILABLE = 0x000000FF;
    
        /**
         * Creates a new empty witness notification.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     *
     * <p>To force selection of our fallback strategies, we load {@link AbstractFuture} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal
     * AbstractFutureTest test methods in these degenerate classloaders.
     */
    
    @NullUnmarked
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

         * Retrieves the file system path associated with a specific artifact.
         *
         * @param artifact The {@link Artifact} whose path is to be retrieved.
         * @return The {@link Path} to the artifact, or {@code null} if unavailable.
         */
        @Nullable
        Path getPath(@Nonnull Artifact artifact);
    
        /**
         * Returns a mapping of artifact coordinates to their corresponding resolution results.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

        }
    
        public void test_constructor_withStatusCodeAndException() {
            // Test constructor with status code and exception
            int statusCode = 503;
            String causeMessage = "Service temporarily unavailable";
            Exception cause = new IllegalStateException(causeMessage);
    
            WebApiException exception = new WebApiException(statusCode, cause);
    
            assertEquals(statusCode, exception.getStatusCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

              .build();
      private static final HashFunction HASH_FN = Hashing.fingerprint2011();
    
      // If this test fails, all bets are off
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testReallySimpleFingerprints() {
        assertEquals(8473225671271759044L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/TempFileCreator.java

            Class<?> optionalClass = Class.forName("java.util.Optional");
            /*
             * We don't *need* to use reflection to access Optional: It's available on all JDKs we
             * support, and Android code won't get this far, anyway, because ProcessHandle is
             * unavailable. But given how much other reflection we're using, we might as well use it
             * here, too, so that we don't need to also suppress an AndroidApiChecker error.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SSPContextTest.java

            }
        }
    
        @Nested
        @DisplayName("Invalid and null inputs")
        class InvalidInputs {
            @Test
            @DisplayName("getSigningKey throws when unavailable")
            void testGetSigningKeyThrows() {
                DummySSPContext ctx = new DummySSPContext(null, false, null, null, 0, false);
                CIFSException ex = assertThrows(CIFSException.class, ctx::getSigningKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top