Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 736 for testHash (0.23 seconds)

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

         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            AvChannelBindings avChannelBindings = new AvChannelBindings(testHash);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTester.java

                  @Override
                  public byte[] getResult() {
                    return out.toByteArray();
                  }
                });
    
        assertExpectedBytes(readBytes);
      }
    
      public void testHash() throws IOException {
        HashCode expectedHash = sha512().hashBytes(expected);
        assertEquals(expectedHash, source.hash(sha512()));
      }
    
      public void testSlice_illegalArguments() {
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

                  @Override
                  public byte[] getResult() {
                    return out.toByteArray();
                  }
                });
    
        assertExpectedBytes(readBytes);
      }
    
      public void testHash() throws IOException {
        HashCode expectedHash = sha512().hashBytes(expected);
        assertEquals(expectedHash, source.hash(sha512()));
      }
    
      public void testSlice_illegalArguments() {
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/ByteSourceTest.java

                return null;
              }
            };
    
        source.read(processor);
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
      public void testHash() throws IOException {
        ByteSource byteSource = new TestByteSource("hamburger\n".getBytes(US_ASCII));
    
        // Pasted this expected string from `echo hamburger | sha512sum`
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

                return null;
              }
            };
    
        source.read(processor);
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
      public void testHash() throws IOException {
        ByteSource byteSource = new TestByteSource("hamburger\n".getBytes(US_ASCII));
    
        // Pasted this expected string from `echo hamburger | sha512sum`
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

        Files.readLines(temp, UTF_8, collectNonEmptyLines);
        assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world  ").inOrder();
    
        assertTrue(temp.delete());
      }
    
      public void testHash() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    
        String init =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  7. lib/fips140/v1.26.0.zip

    0xA4, 0x2A, 0x49, 0x42, 0x72}, }, d: []byte{ 0xE6, 0xCB, 0x5B, 0xDD, 0x80, 0xAA, 0x45, 0xAE, 0x9C, 0x95, 0xE8, 0xC1, 0x54, 0x76, 0x67, 0x9F, 0xFE, 0xC9, 0x53, 0xC1, 0x68, 0x51, 0xE7, 0x11, 0xE7, 0x43, 0x93, 0x95, 0x89, 0xC6, 0x4F, 0xC1, }, } } func testHash() []byte { return []byte{ 0x17, 0x1b, 0x1f, 0x5e, 0x9f, 0x8f, 0x8c, 0x5c, 0x42, 0xe8, 0x06, 0x59, 0x7b, 0x54, 0xc7, 0xb4, 0x49, 0x05, 0xa1, 0xdb, 0x3a, 0x3c, 0x31, 0xd3, 0xb7, 0x56, 0x45, 0x8c, 0xc2, 0xd6, 0x88, 0x62, 0x9e, 0xd6, 0x7b, 0x9b, 0x25,...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  8. lib/fips140/v1.0.0-c2097c7c.zip

    0xA4, 0x2A, 0x49, 0x42, 0x72}, }, d: []byte{ 0xE6, 0xCB, 0x5B, 0xDD, 0x80, 0xAA, 0x45, 0xAE, 0x9C, 0x95, 0xE8, 0xC1, 0x54, 0x76, 0x67, 0x9F, 0xFE, 0xC9, 0x53, 0xC1, 0x68, 0x51, 0xE7, 0x11, 0xE7, 0x43, 0x93, 0x95, 0x89, 0xC6, 0x4F, 0xC1, }, } } func testHash() []byte { return []byte{ 0x17, 0x1b, 0x1f, 0x5e, 0x9f, 0x8f, 0x8c, 0x5c, 0x42, 0xe8, 0x06, 0x59, 0x7b, 0x54, 0xc7, 0xb4, 0x49, 0x05, 0xa1, 0xdb, 0x3a, 0x3c, 0x31, 0xd3, 0xb7, 0x56, 0x45, 0x8c, 0xc2, 0xd6, 0x88, 0x62, 0x9e, 0xd6, 0x7b, 0x9b, 0x25,...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullUnmarked
    public class ContiguousSetTest extends TestCase {
      private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS =
          new DiscreteDomain<Integer>() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  10. cmd/api-resources_test.go

    		}
    		if startAfter != testCase.startAfter {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.startAfter, startAfter)
    		}
    		if delimiter != testCase.delimiter {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.delimiter, delimiter)
    		}
    		if fetchOwner != testCase.fetchOwner {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, testCase.fetchOwner, fetchOwner)
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Click Count (0)
Back to Top