Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 149 for tryFind (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Smb2TreeConnectRequest reqWithNull = new Smb2TreeConnectRequest(mockConfig, null);
    
            // Then - should not throw during construction
            assertNotNull(reqWithNull);
    
            // But should throw when trying to use the null path
            assertThrows(NullPointerException.class, () -> {
                reqWithNull.size();
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    } catch (final InterruptedException ie) {
                        throw new SmbException(ie.getMessage(), ie);
                    }
                }
                connectionState = 1; // trying ...
    
                try {
                    transport.connect();
    
                    /*
                     * Session Setup And X Request / Response
                     */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            byte[] buffer = new byte[256];
    
            // Should throw NullPointerException when trying to copy null array
            assertThrows(NullPointerException.class, () -> {
                requestWithNull.writeBytesWireFormat(buffer, 0);
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. internal/kms/config.go

    // replicating objects. It's enabled by default. To disable it, set:
    //
    //	MINIO_KMS_REPLICATE_KEYID=off
    //
    // Some deployments use different KMS clusters with destinct keys on
    // each site. Trying to replicate the KMS key ID can cause requests
    // to fail in such setups.
    func ReplicateKeyID() bool { return replicateKeyID() }
    
    // ConnectionOptions is a structure containing options for connecting
    // to a KMS.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        assert200Http2Response(execute(sanUrl), "san.com")
        assertThat(client.connectionPool.connectionCount()).isEqualTo(1)
      }
    
      /**
       * This is an extraordinary test case. Here's what it's trying to simulate.
       * - 2 requests happen concurrently to a host that can be coalesced onto a single connection.
       * - Both request discover no existing connection. They both make a connection.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

    /// info
    
    FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
    
    If you have an older version, you would get errors when trying to use `Annotated`.
    
    Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/rpcTest.java

                // Create a real NdrBuffer mock that can handle the deferred field access
                // But only test the non-deferred parts to avoid field mocking issues
    
                // When: Trying to encode (may throw exception due to deferred buffer)
                // Then: Should at least call the basic encoding methods before hitting deferred
                assertThrows(Exception.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            Field headerStartField = ServerMessageBlock2.class.getDeclaredField("headerStart");
            headerStartField.setAccessible(true);
            headerStartField.set(response, 0);
    
            // When & Then - should throw when trying to read beyond buffer
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(smallBuffer, bodyStart));
        }
    
        @Test
        @DisplayName("Should handle Reserved2 field correctly")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    return found;
                }
            }
    
            IOException ex = null;
            for (final Address addr : addrs) {
                if (log.isDebugEnabled()) {
                    log.debug("Trying address {}", addr);
                }
                try (SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class)) {
                    try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
       * Returns a new target iterator each time it's called. This is the iterator you are trying to
       * test. This must return an Iterator that returns the expected elements passed to the constructor
       * in the given order. Warning: it is not enough to simply pull multiple iterators from the same
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top