Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,156 for calls (0.02 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
       * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception
       * message must mention two values that were associated with the duplicate key in two different
       * calls to Builder.put (though we don't really care *which* two values if there were more than
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Joiner.java

         * inputs, rather than as if it never tolerates them.
         *
         * We rely on checkers to implement special cases to catch dangerous calls to join(), etc. based
         * on what they know about the particular Joiner instances the calls are performed on.
         *
         * (In addition to useForNull, we also offer skipNulls. It, too, tolerates null inputs, but its
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

        extends GwtFluentFutureCatchingSpecialization<V> {
    
      /**
       * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring
       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
          implements AbstractFuture.Trusted<V> {
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putInt(4);
                buffer.putInt(1024);
    
                // When
                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
    
                // Then - multiple calls should return same values
                assertEquals(2000L * 4 * 1024, fileFsFullSizeInfo.getCapacity());
                assertEquals(2000L * 4 * 1024, fileFsFullSizeInfo.getCapacity());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Set fail counts (addr1 has more failures, addr2 has fewer)
            pool.failCounts.put("10.0.0.1", 5);
            pool.failCounts.put("10.0.0.2", 1);
    
            // Create spy to intercept calls
            SmbTransportPoolImpl poolSpy = spy(pool);
            when(ctx.getTransportPool()).thenReturn(poolSpy);
    
            // Mock transports
            SmbTransportImpl trans1 = mock(SmbTransportImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

       * the {@code Future} is already done. Second, if buggy code calls {@code getDone} on a {@code
       * Future} that is still pending, the program will throw instead of block. This can be important
       * for APIs like {@link #whenAllComplete whenAllComplete(...)}{@code .}{@link
       * FutureCombiner#call(Callable, Executor) call(...)}, where it is easy to use a new input from
       * the {@code call} implementation but forget to add it to the arguments of {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HMACT64Test.java

            byte[] clonedResult = clonedHmac.engineDigest();
    
            assertArrayEquals(originalResult, clonedResult);
        }
    
        @Test
        void testMultipleUpdates() {
            // Test multiple update calls
            HMACT64 hmac1 = new HMACT64(TEST_KEY);
            HMACT64 hmac2 = new HMACT64(TEST_KEY);
    
            // Update hmac1 all at once
            hmac1.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
        @DisplayName("Iterator without filter - simple case")
        void iteratorWithoutFilter() {
            // Setup: constructor calls advance() once
            when(delegate.hasNext()).thenReturn(true, false);
            when(delegate.next()).thenReturn(fileEntry);
    
            TestIterator iterator = new TestIterator(null);
    
            // Verify iteration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

                when(mockEntry.getName()).thenReturn(null, "", " ");
    
                // Act & Assert
                assertNull(mockEntry.getName(), "first call returns null");
                assertEquals("", mockEntry.getName(), "second call returns empty");
                assertEquals(" ", mockEntry.getName(), "third call returns space");
    
                verify(mockEntry, times(3)).getName();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            response.readDataWireFormat(buffer, 0, buffer.length);
    
            SecurityDescriptor sd = response.getSecurityDescriptor();
            assertNotNull(sd);
    
            // Verify it's the same instance on subsequent calls
            SecurityDescriptor sd2 = response.getSecurityDescriptor();
            assertSame(sd, sd2);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with zero length buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top