Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 2,426 for Call (0.02 sec)

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

       * being deleted. This can happen if, after checking that a file is a directory (and not a
       * symbolic link), that directory is deleted and replaced by a symbolic link to an outside
       * directory before the call that opens the directory to read its entries. File systems that
       * support {@code SecureDirectoryStream} do not have this vulnerability.
       */
      ALLOW_INSECURE
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/LmhostsTest.java

            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // First call should read the file
            NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result1);
    
            // Second call should use cached data (file not modified)
            NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

              protected Integer initialValue() {
                return 0;
              }
            };
    
        Callable<Integer> incrementTask =
            new Callable<Integer>() {
              @Override
              public Integer call() {
                int i = threadLocalCount.get();
                threadLocalCount.set(i + 1);
                return i;
              }
            };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/MessageTest.java

            };
        }
    
        @Test
        void testRetainPayload() {
            // Initially, retainPayload should be false
            assertFalse(message.isRetainPayload(), "isRetainPayload should be false initially");
    
            // Call retainPayload and check if it becomes true
            message.retainPayload();
            assertTrue(message.isRetainPayload(), "isRetainPayload should be true after calling retainPayload");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         */
        @Nullable
        Path getPath();
    
        /**
         * Creates a new input stream to read the source contents.
         * Each call creates a fresh stream starting from the beginning.
         * The caller is responsible for closing the returned stream.
         *
         * @return a new input stream positioned at the start of the content
         * @throws IOException if the stream cannot be created or opened
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt

      override val isReady = false
    
      override fun connectTcp() = result
    
      override fun connectTlsEtc() = result
    
      override fun handleSuccess() = error("unexpected call")
    
      override fun cancel() = error("unexpected cancel")
    
      override fun retry() = error("unexpected retry")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * of occurrences of all other elements has not changed.
       *
       * <p>Note: This means that a test like the following will fail if {@code collection} is a {@code
       * Set}:
       *
       * <pre>
       * collection.add(existingElement);
       * expectAdded(existingElement);</pre>
       *
       * <p>In this case, {@code collection} was not modified as a result of the {@code add()} call, and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/RC4.java

     * This class provides RC4 encryption/decryption functionality used in SMB1 protocol operations.
     */
    public class RC4 {
    
        byte[] s;
        int i, j;
    
        /**
         * Default constructor for RC4 cipher.
         * Call init() to initialize with a key before use.
         */
        public RC4() {
        }
    
        /**
         * Constructs and initializes an RC4 cipher with the specified key.
         *
         * @param key the encryption key
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        assertThat(e).hasCauseThat().isEqualTo(exception);
      }
    
      public static <T> Callable<T> callableThrowing(Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    
      private static Runnable runnableThrowing(RuntimeException e) {
        return new Runnable() {
          @Override
          public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top