Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for testRC4 (0.47 sec)

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

            // Then
            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
            byte[] key = "testkey123456789".getBytes(); // 16 bytes
            byte[] plaintext = "This is a test message for RC4".getBytes();
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. cmd/object-api-options_test.go

    			},
    		},
    		{
    			name: "multiple header lines with some duplicates",
    			headers: http.Header{
    				xhttp.AmzObjectAttributes: []string{"test1,test2", "test3,test4", "test4,test3"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {}, "test3": {}, "test4": {},
    			},
    		},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			rec := httptest.NewRecorder()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        public void testPutAll() throws Exception {
            Map<String, String> m = new HashMap<String, String>();
            m.put("3", "test3");
            m.put("4", "test4");
            map.putAll(m);
            assertThat(map.get("3"), is("test3"));
            assertThat(map.get("4"), is("test4"));
            assertThat(map.size(), is(5));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            assertThat(count, is(3));
            assertThat(names, is("ba"));
            assertThat(DisposableUtil.disposables.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test4() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            DisposableUtil.addFirst(new TestDisposable("b"));
            assertThat(DisposableUtil.disposables.size(), is(2));
            DisposableUtil.dispose();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      }
    
      public void testOf3() {
        assertThat(ImmutableLongArray.of(0, 1, 3).asList()).containsExactly(0L, 1L, 3L).inOrder();
      }
    
      public void testOf4() {
        assertThat(ImmutableLongArray.of(0, 1, 3, 6).asList())
            .containsExactly(0L, 1L, 3L, 6L)
            .inOrder();
      }
    
      public void testOf5() {
        assertThat(ImmutableLongArray.of(0, 1, 3, 6, 10).asList())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ResourceManagerTest.java

        }
    
        @Test
        @DisplayName("Test managed resource prevents use after close")
        void testManagedResourceUseAfterClose() throws Exception {
            TestResource resource = new TestResource("test4");
            ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource);
    
            managed.close();
            assertTrue(resource.isClosed());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testOf3() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testOf4() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3, 6).asList())
            .containsExactly(0.0, 1.0, 3.0, 6.0)
            .inOrder();
      }
    
      public void testOf5() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      }
    
      public void testOf3() {
        assertThat(ImmutableIntArray.of(0, 1, 3).asList()).containsExactly(0, 1, 3).inOrder();
      }
    
      public void testOf4() {
        assertThat(ImmutableIntArray.of(0, 1, 3, 6).asList()).containsExactly(0, 1, 3, 6).inOrder();
      }
    
      public void testOf5() {
        assertThat(ImmutableIntArray.of(0, 1, 3, 6, 10).asList())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testOf3() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testOf4() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3, 6).asList())
            .containsExactly(0.0, 1.0, 3.0, 6.0)
            .inOrder();
      }
    
      public void testOf5() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top