Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 2,773 for throwIt (0.25 sec)

  1. docs/smb3-features/03-multi-channel-design.md

            return baos.toByteArray();
        }
        
        private byte[] calculateBindingHash(byte[] bindingInfo) throws IOException {
            try {
                MessageDigest digest = MessageDigest.getInstance("SHA-256");
                return digest.digest(bindingInfo);
            } catch (NoSuchAlgorithmException e) {
                throw new IOException("SHA-256 not available", e);
            }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

    internal class FileOperator(
      private val fileChannel: FileChannel,
    ) {
      /** Write [byteCount] bytes from [source] to the file at [pos]. */
      @Throws(IOException::class)
      fun write(
        pos: Long,
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount < 0L || byteCount > source.size) {
          throw IndexOutOfBoundsException()
        }
        var mutablePos = pos
        var mutableByteCount = byteCount
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        }
    
        /**
         * @return the fid
         * @throws SmbException
         */
        public int getFid() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fid;
        }
    
        public byte[] getFileId() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java

         * @return the extractor instance for processing the document
         * @throws FessSystemException if no suitable extractor can be found
         */
        @Override
        protected Extractor getExtractor(final ResponseData responseData) {
            final ExtractorFactory extractorFactory = ComponentUtil.getExtractorFactory();
            if (extractorFactory == null) {
                throw new FessSystemException("Could not find extractorFactory.");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CountingOutputStream.java

      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        out.write(b, off, len);
        count += len;
      }
    
      @Override
      public void write(int b) throws IOException {
        out.write(b);
        count++;
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/Pac.java

         * @param data the raw PAC data bytes
         * @param keys map of Kerberos keys for signature validation
         * @throws PACDecodingException if the PAC data is malformed or signature validation fails
         */
        public Pac(byte[] data, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            byte[] checksumData = data.clone();
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            when(mockRequest.getTreeId()).thenReturn(123);
    
            // Should throw NoAvailableChannelException when no healthy channels
            assertThrows(ChannelLoadBalancer.NoAvailableChannelException.class, () -> loadBalancer.selectChannel(mockRequest),
                    "Should throw exception when no healthy channels available");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HostSpecifier.java

       * specifier that is not already known to be valid.
       *
       * @throws ParseException if the specifier is not valid.
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static HostSpecifier from(String specifier) throws ParseException {
        try {
          return fromValid(specifier);
        } catch (IllegalArgumentException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                fail("Should throw IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertEquals("name or dataStore is null.", e.getMessage());
            }
        }
    
        // Test add method with both null parameters
        public void test_add_bothNull() {
            try {
                dataStoreFactory.add(null, null);
                fail("Should throw IllegalArgumentException");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top