Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 678 for verifyCn (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/signature-v4.go

    	// Get the encoded query.
    	encodedQuery := query.Encode()
    
    	// Verify if date query is same.
    	if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if expires query is same.
    	if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if signed headers query is same.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Create buffer for encoding
            byte[] buffer = new byte[16];
            int bytesWritten = info.encode(buffer, 0);
    
            // Verify bytes written
            assertEquals(8, bytesWritten);
    
            // Verify encoded value
            long decodedValue = SMBUtil.readInt8(buffer, 0);
            assertEquals(endOfFile, decodedValue);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/graph/FilteredProjectDependencyGraphTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    @ExtendWith(MockitoExtension.class)
    class FilteredProjectDependencyGraphTest {
    
        @Mock
        private ProjectDependencyGraph projectDependencyGraph;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 04 20:56:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            // Verify that the super constructor was called with the correct arguments
            // Note: Mockito cannot directly verify super constructor calls.
            // We assume if the object is created, the super constructor was called.
            // We can verify the state of the object after construction.
    
            // Verify ptype and flags are set correctly
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/PacConstantsTest.java

         * This prevents accidental modification of these critical constants.
         */
        @Test
        void testConstantValues() {
            // Verify the PAC version
            assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0");
    
            // Verify PAC buffer types
            assertEquals(1, PacConstants.LOGON_INFO, "LOGON_INFO should be 1");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            NdrSmall ndrSmall = new NdrSmall(0);
    
            // Call the decode method
            ndrSmall.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_small was called
            verify(mockNdrBuffer, times(1)).dec_ndr_small();
            // Verify that the value field was updated correctly
            assertEquals(decodedValue, ndrSmall.value, "Value should be updated after decoding.");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                            .thenReturn(UpgradeResult.empty());
    
                    checkGoal.execute(context);
    
                    // Verify that the Check-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Check");
                } finally {
                    // Clean up - delete all files in the directory first
                    try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. cmd/xl-storage_unix_test.go

    		t.Fatalf("Initializing xlStorage failed with %s.", err)
    	}
    
    	// Attempt to create a volume to verify the permissions later.
    	// MakeVol creates directory with 0777 perms.
    	if err = disk.MakeVol(t.Context(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Attempt to create a file to verify the permissions later.
    	// AppendFile creates file with 0666 perms.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt());
    
            int result = request.writeBodyWireFormat(dst, dstIndex);
    
            // Verify that writeQuestionSectionWireFormat was called
            verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex);
            assertEquals(10, result);
        }
    
        @Test
        void testReadBodyWireFormat() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Click Count (0)
Back to Top