Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 494 for corretto (0.04 sec)

  1. src/test/java/jcifs/util/StringsTest.java

                int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length);
    
                // Then
                assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position");
            }
    
            @Test
            @DisplayName("findUNITermination should throw exception when termination not found")
            void testFindUNITerminationNotFound() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. cmd/signature-v2_test.go

    		{
    			authString:    "NoV2Prefix",
    			expectedError: ErrSignatureVersionNotSupported,
    		},
    		// Test case - 3.
    		// Test case with missing parts in the Auth string.
    		// below is the correct format of V2 Authorization header.
    		// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    		{
    			authString:    signV2Algorithm,
    			expectedError: ErrMissingFields,
    		},
    		// Test case - 4.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/ACE.java

     *
     * the access check would fail because the direct ACE has an access mask
     * of <code>0x001200A9</code> which doesn't have the
     * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If
     * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check
     * will succeed because the inherited ACE allows local <code>Administrators</code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            // Act
            SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid);
    
            // Assert
            assertNotNull(handle);
            // Verify sendrecv was called once with the correct RPC message
            verify(mockDcerpcHandle, times(1)).sendrecv(openDomainCaptor.capture());
            MsrpcSamrOpenDomain capturedRpc = openDomainCaptor.getValue();
            assertNotNull(capturedRpc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertEquals(0, stackTrace.length);
        }
    
        public void test_serialization() {
            // Test that the exception has correct serialVersionUID
            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            int sid = 0x1234;
            int resumeKey = 0x89ABCDEF; // LE expected: EF CD AB 89
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. cmd/storage-interface.go

    	// For that individual storage API calls will fail properly. The purpose
    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    	LastConn() time.Time
    
    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // This test verifies actual behavior
                testBlock.setFlags((byte) 0x00);
                assertFalse(testBlock.isResolveInDfs());
    
                // The correct implementation should check flags2, not flags
                testBlock.addFlags2(SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS);
                // But due to the bug, this still returns false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should return correct OVERHEAD constant value")
        void testOverheadConstant() {
            // Then
            assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertTrue(exception.getMessage().contains("Data exceeds buffer size"));
            }
    
            @Test
            @DisplayName("Should write data at correct offset in buffer")
            void testDataOffsetCalculation() {
                byte[] data = new byte[50];
                Arrays.fill(data, (byte) 0xAB);
                request.setData(data, 0, data.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top