Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 347 for revalidate (0.27 sec)

  1. cmd/globals.go

    	// Contains NIC interface name used for internode communication
    	globalInternodeInterface     string
    	globalInternodeInterfaceOnce sync.Once
    
    	// Set last client perf extra time (get lock, and validate)
    	globalLastClientPerfExtraTime int64
    
    	// Captures all batch jobs metrics globally
    	globalBatchJobsMetrics batchJobMetrics
    
    	// Indicates if server was started as `--address ":0"`
    	globalDynamicAPIPort bool
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (1)
  2. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(1L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, new byte[] { 0x01, 0x02 }, tree, "//x", 0, 0, 0, 0, 0L);
            // invalidate
            h.markClosed();
    
            SmbException ex1 = assertThrows(SmbException.class, h::getFid);
            assertEquals("Descriptor is no longer valid", ex1.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4_test.go

    			[]byte("10000;chunk-signature=ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648    \t \n"),
    			[]byte("10000"),
    			[]byte("ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"),
    		},
    	}
    	// Validate chunk extension removal.
    	for i, tt := range tests {
    		// Extract chunk size and chunk signature after parsing a standard chunk-extension format.
    		hexChunkSize, hexChunkSignature := parseS3ChunkExtension(tt.buf)
    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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

     */
    class CacheControl internal constructor(
      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
       * the response; it only means we have to validate the response with the origin server before
       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0));
        }
    
        @Test
        void decodesSrvCopyChunkCopyResponse() throws Exception {
            // Validate createOutputDecodable() mapping and Decodable decode
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
    
            // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package.
     *
     * The tests use small stub subclasses to drive encode/decode paths and
     * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling.
     */
    class AndXServerMessageBlockTest {
    
        /**
         * Test stub for AndXServerMessageBlock to control read/write logic.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Then - all reads should return same result
            assertEquals(4, read1);
            assertEquals(4, read2);
            assertEquals(4, read3);
        }
    
        @Test
        @DisplayName("Should validate structure size before processing")
        void testStructureSizeValidation() {
            // Given various invalid structure sizes
            int[] invalidSizes = { -1, 0, 1, 2, 3, 5, 6, 8, 16, 32, 64, 128, 256, 512, 1024 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                });
            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
            @DisplayName("encode should validate size calculation")
            void testEncodeValidSize() {
                byte[] buffer = new byte[1024];
                testRequest.setTestSize(64);
                testRequest.setTestLength(64);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

        @Test
        @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")
        void testParseAcceptsNonZeroOuterTag() throws Exception {
            // Note: The current implementation does not validate the outer APPLICATION tag number
            // This test documents the actual behavior - any tag number is accepted
            byte[] token =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top