Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 782 for passing (0.08 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

        void testConstructorStoresReference() {
            byte[] originalHash = { 0x01, 0x02, 0x03 };
            AvChannelBindings avChannelBindings = new AvChannelBindings(originalHash);
    
            // Modify the original array after passing it to the constructor
            originalHash[0] = 0x00;
    
            // The value in AvChannelBindings should reflect the change since it stores a reference
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    The only thing the function returned by `GzipRequest.get_route_handler` does differently is convert the `Request` to a `GzipRequest`.
    
    Doing this, our `GzipRequest` will take care of decompressing the data (if necessary) before passing it to our *path operations*.
    
    After that, all of the processing logic is the same.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

        }
    
        @Test
        @DisplayName("constructor with null andx does not throw exception")
        void constructorWithNullAndxNoException() {
            // This test verifies that passing null doesn't cause any issues
            assertDoesNotThrow(() -> {
                SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
                assertNotNull(msg, "Message should be created even with null andx");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

    @SuppressWarnings({
      // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
      "JUnit4ClassUsedInJUnit3",
      // We use ::iterator so that we test passing a plain Iterable, not a Collection.
      "UnnecessaryMethodReference",
    })
    public class MultimapPutIterableTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. cmd/object-api-options.go

    		if _, err := uuid.Parse(vid); err != nil {
    			return opts, InvalidVersionID{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: vid,
    			}
    		}
    	}
    
    	// default case of passing encryption headers to backend
    	opts, err = getDefaultOpts(r.Header, false, nil)
    	if err != nil {
    		return opts, err
    	}
    	opts.PartNumber = partNumber
    	opts.VersionID = vid
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. cmd/service.go

    // cancelGlobalContext can be used to indicate server shutdown.
    var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background())
    
    // restartProcess starts a new process passing it the active fd's. It
    // doesn't fork, but starts a new process using the same environment and
    // arguments as when it was originally started. This allows for a newly
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/Handler.java

    import java.util.StringTokenizer;
    
    /**
     * A <code>URLStreamHandler</code> used to provide NTLM authentication
     * capabilities to the default HTTP handler.  This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * The default HTTP port (<code>80</code>).
         */
        public static final int DEFAULT_HTTP_PORT = 80;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        }
    
        @Test
        @DisplayName("send with explicit null varargs propagates exception from implementation")
        void send_nullVarargsArray_throws() throws Exception {
            // Arrange: passing explicit null vararg array is edge scenario
            when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params"));
    
            // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            } else {
                assertFalse(result, "Non-null names should be rejected by this filter");
            }
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Edge: passing a null directory object. Interface allows null; implementation decides.
         */
        @Test
        @DisplayName("null directory is handled by implementation")
        void handlesNullDirectory() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

        }
    
        @Test
        void testConstructorWithNullSIDArray() {
            jcifs.SID[] sids = null;
            // Expect NullPointerException when passing a null array to the constructor
            assertThrows(NullPointerException.class, () -> new LsarSidArrayX(sids),
                    "Should throw NullPointerException when sids array is null");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top