Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for chunking (0.34 sec)

  1. guava/src/com/google/common/collect/EnumBiMap.java

      /*
       * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
       * could use null, but that messes with our nullness checking, including under J2KT. We could
       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            request.setFileId(fileId);
    
            // Verify by writing to buffer and checking the fileId position
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH);
    
            // FileId is at offset 8 in the request structure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4_test.go

    		if !bytes.Equal(hexChunkSize, tt.chunkSize) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSize), string(hexChunkSize))
    		}
    		if !bytes.Equal(hexChunkSignature, tt.chunkSign) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSign), string(hexChunkSignature))
    		}
    	}
    }
    
    // Test read CRLF characters on input reader.
    func TestReadCRLF(t *testing.T) {
    	type testCase struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    connectionsRemoved.get());
        }
    
        // Enhanced health checking methods
    
        /**
         * Start proactive health checking
         */
        private void startProactiveHealthChecking() {
            if (proactiveHealthCheckEnabled && healthCheckTask == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                            final SrvCopychunk[] chunkInfo = new SrvCopychunk[chunks];
                            long ioff = 0;
                            for (int i = 0; i < chunks; i++) {
                                final long absoff = ooff + ioff;
                                final int csize = i == chunks - 1 ? lastChunkSize : maxChunkSize;
                                chunkInfo[i] = new SrvCopychunk(absoff, absoff, csize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportInternal.java

         * @throws SmbException if an error occurs checking signing status
         */
        boolean isSigningOptional() throws SmbException;
    
        /**
         * Checks if message signing is mandatory for this connection.
         *
         * @return whether signatures are enforced from either side
         * @throws SmbException if an error occurs checking signing status
         */
        boolean isSigningEnforced() throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password);
    
            // Assert: overloads consistent
            assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key");
    
            // Changing domain should change the key (domain is part of MAC input)
            byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ServerResponseValidator.java

    import jcifs.smb.SmbException;
    
    /**
     * Validator for SMB server responses to prevent buffer overflow and injection attacks.
     *
     * Features:
     * - Buffer bounds checking
     * - Integer overflow prevention
     * - Size validation
     * - Protocol compliance checking
     * - Malformed response detection
     */
    public class ServerResponseValidator {
    
        private static final Logger log = LoggerFactory.getLogger(ServerResponseValidator.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-status-code.md

    **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    ## Changing the default { #changing-the-default }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. cmd/namespace-lock_test.go

    package cmd
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    // WARNING:
    //
    // Expected source line number is hard coded, 35, in the
    // following test. Adding new code before this test or changing its
    // position will cause the line number to change and the test to FAIL
    // Tests getSource().
    func TestGetSource(t *testing.T) {
    	currentSource := func() string { return getSource(2) }
    	gotSource := currentSource()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top