- Sort Score
- Result 10 results
- Languages All
Results 2191 - 2200 of 5,078 for strong (0.06 sec)
-
src/bytes/reader_test.go
if expect := int64(len(s)); n != expect { t.Errorf("got %v; want %v", n, expect) } if err != nil { t.Errorf("for length %d: got error = %v; want nil", l, err) } if b.String() != s { t.Errorf("got string %q; want %q", b.String(), s) } if r.Len() != 0 { t.Errorf("reader contains %v bytes; want 0", r.Len()) } } } func TestReaderLen(t *testing.T) { const data = "hello world"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
return new String(c); } /** * Converts a byte array to a hexadecimal string representation. * * @param src the source byte array to convert * @param srcIndex the starting index in the source array * @param size the number of characters in the resulting hex string * @return a hexadecimal string representation of the byte array */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
char[] plaintext = "TestPassword456".toCharArray(); // Encrypt to string String encryptedStr = storage.encryptToString(plaintext); assertNotNull(encryptedStr, "Encrypted string should not be null"); assertFalse(encryptedStr.contains("TestPassword456"), "Plaintext should not be visible in encrypted string"); // Should be valid base64
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/JvmUtil.java
* * @param values the array of JVM options to filter * @return the filtered array of JVM options applicable to the current Java version */ public static String[] filterJvmOptions(final String[] values) { final int version = getJavaVersion(); return Arrays.stream(values).map(s -> { final Matcher matcher = VERSION_PREFIX_PATTERN.matcher(s);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
@MethodSource("encodeProvider") void testEncode(byte[] input, String expected) { // Arrange & Act String actual = Base64.encode(input); // Assert assertEquals(expected, actual, "Base64.encode should match expected string"); } /** * Data provider for Base64 strings and expected decoded byte arrays. */ static Stream<Arguments> decodeProvider() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
cmd/encryption-v1.go
} sealedKey = objectKey.Seal(newKey, sealedKey.IV, crypto.SSEC.String(), bucket, object) crypto.SSEC.CreateMetadata(metadata, sealedKey) return nil default: return errObjectTampered } } func newEncryptMetadata(ctx context.Context, kind crypto.Type, keyID string, key []byte, bucket, object string, metadata map[string]string, cryptoCtx kms.Context) (crypto.ObjectKey, error) { var sealedKey crypto.SealedKey
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
src/bufio/bufio_test.go
if err == io.EOF { break } } return string(b[0:nb]) } type bufReader struct { name string fn func(*Reader) string } var bufreaders = []bufReader{ {"1", func(b *Reader) string { return reads(b, 1) }}, {"2", func(b *Reader) string { return reads(b, 2) }}, {"3", func(b *Reader) string { return reads(b, 3) }}, {"4", func(b *Reader) string { return reads(b, 4) }},Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
} @Test @DisplayName("Test service cleanup") public void testServiceCleanup() throws CIFSException { String sessionId1 = "cleanup-test-1"; String sessionId2 = "cleanup-test-2"; byte[] salt = preauthService.generatePreauthSalt(); preauthService.initializeSession(sessionId1, salt, PreauthIntegrityService.HASH_ALGO_SHA512);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
*/ @Test public void test() throws Exception { final List<String> list = newArrayList(); list.add("aaa"); list.add("bbb"); list.add("ccc"); final IndexedIterator<String> it = new IndexedIterator<String>(list.iterator()); assertThat(it.hasNext(), is(true)); final Indexed<String> indexed1 = it.next(); assertThat(indexed1.getIndex(), is(0));Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0)