Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 170 for CHECKED (0.04 sec)

  1. guava/src/com/google/common/cache/Cache.java

       * {@code null}; it may either return a non-null value or throw an exception.
       *
       * <p>No observable state associated with this cache is modified until loading completes.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Class<? extends Exception> exceptionClass) {
        try {
          Exception unused = newWithCause(exceptionClass, new Exception());
          return true;
        } catch (Throwable t) { // sneaky checked exception
          return false;
        }
      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

        DataOutputStream dout = new DataOutputStream(out);
        dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));
        dout.writeByte(UnsignedBytes.checkedCast(numHashFunctions)); // note: checked at the c'tor
        dout.writeInt(bits.data.length());
        for (int i = 0; i < bits.data.length(); i++) {
          dout.writeLong(bits.data.get(i));
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

                // We've exhausted our current label. Either there are more labels to compare, in which
                // case we expect a dot as the next character. Otherwise, we've checked all our labels.
                if (currentLabelIndex == labels.size - 1) {
                  break
                } else {
                  currentLabelIndex++
                  currentLabelByteIndex = -1
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportInternalTest.java

    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.SmbSession;
    
    /**
     * Tests for SmbTransportInternal interface using Mockito mocks to
     * exercise method contracts, checked exceptions, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbTransportInternalTest {
    
        @Mock
        private SmbTransportInternal transport;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            verify(tree, times(1)).close(); // try-with-resources must close
            verify(handle, never()).markClosed();
            verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2
        }
    
        // SMB1 path: without CAP_NT_SMBS it should throw SmbUnsupportedOperationException
        @Test
        @DisplayName("watch() SMB1 without capability throws unsupported")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                int start = dstIndex;
                dstIndex += writeHeaderWireFormat(dst, dstIndex);
                dstIndex += writeBytesWireFormat(dst, dstIndex);
    
                // Set the length field that will be checked by ServerMessageBlock2Request.encode()
                int calculatedLength = testEncodedLength;
                setLength(calculatedLength);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          if (node.previousSibling == null) {
            // requireNonNull is safe because we checked that not *both* siblings were null.
            keyList.head = requireNonNull(node.nextSibling);
          } else {
            node.previousSibling.nextSibling = node.nextSibling;
          }
    
          if (node.nextSibling == null) {
            // requireNonNull is safe because we checked that not *both* siblings were null.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Cache.java

       * {@code null}; it may either return a non-null value or throw an exception.
       *
       * <p>No observable state associated with this cache is modified until loading completes.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SSPContextTest.java

                }
    
                // Verify that calculateMIC was never called
                verify(mockCtx, never()).calculateMIC(any());
                // Verify that supportsIntegrity was checked once
                verify(mockCtx, times(1)).supportsIntegrity();
                // Due to short-circuit evaluation, isEstablished should never be called
                // when supportsIntegrity returns false
    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