Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,753 for throwIt (0.03 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

        }
    
        @Test
        void testReadTagNumber_HighTag() throws IOException {
            // High tag number (31)
            InputStream s = new ByteArrayInputStream(new byte[] { 0x1F });
            int tagNo = ASN1Util.readTagNumber(s, 0x1F);
            assertEquals(31, tagNo);
        }
    
        @Test
        void testReadTagNumber_MultiByte() throws IOException {
            // Multi-byte tag (e.g., 80)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

            // Verify witness service is authorized
            if (!isAuthorizedWitnessServer(witnessServer)) {
                throw new SecurityException("Unauthorized witness server: " + witnessServer);
            }
        }
        
        public void validateNotification(WitnessNotification notification) throws SecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        void testGetByNameWithLocalhost() throws UnknownHostException {
            // When
            Address address = nameServiceClient.getByName("localhost");
    
            // Then
            assertNotNull(address, "Should return address for localhost");
        }
    
        @Test
        @DisplayName("Should handle IP address in getByName")
        void testGetByNameWithIPAddress() throws UnknownHostException {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

         * @param wagon
         * @param repository
         *
         * @throws ConnectionException
         * @throws AuthenticationException
         */
        private void connectWagon(Wagon wagon, ArtifactRepository repository)
                throws ConnectionException, AuthenticationException {
            // MNG-5509
            // See org.eclipse.aether.connector.wagon.WagonRepositoryConnector.connectWagon(Wagon)
            if (legacySupport.getRepositorySession() != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

         * Establish RDMA connection
         */
        public abstract void connect() throws IOException;
        
        /**
         * Send data using RDMA
         */
        public abstract void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException;
        
        /**
         * Receive data using RDMA  
         */
        public abstract ByteBuffer receive(int timeout) throws IOException;
        
        /**
         * Perform RDMA read operation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/UnmodifiableListIterator.java

      /**
       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void add(@ParametricNullness E e) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        verifyThreadWasNotInterrupted();
      }
    
      public void testFailed() throws Exception {
        Exception e = new Exception();
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    throw e;
                  }
                });
        task.run();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       *
       * @throws TimeoutException if this thread does not offer a response within a reasonable amount of
       *     time
       * @throws AssertionFailedError if the given method name does not match the name of the method
       *     this thread has called most recently
       */
      private Response getResponse(String methodName) throws Exception {
        Response response = responseQueue.poll(TIMEOUT_MILLIS, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

         * @param maxSize maximum allowed size
         * @throws SmbException if validation fails
         */
        public void validateBuffer(byte[] buffer, int expectedSize, int maxSize) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (buffer == null) {
                failedValidations.incrementAndGet();
                throw new SmbException("Response buffer is null");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        /**
         * Establishes a connection to the SMB server.
         *
         * @throws SmbException if the connection fails
         */
        public void connect() throws SmbException {
            try {
                super.connect(RESPONSE_TIMEOUT);
            } catch (final TransportException te) {
                throw new SmbException("Failed to connect: " + address, te);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top