- Sort Score
- Result 10 results
- Languages All
Results 2921 - 2930 of 5,095 for tstring (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/httprange_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" ) func TestHTTPRequestRangeSpec(t *testing.T) { resourceSize := int64(10) validRangeSpecs := []struct { spec string expOffset, expLength int64 }{ {"bytes=0-", 0, 10}, {"bytes=1-", 1, 9}, {"bytes=0-9", 0, 10}, {"bytes=1-10", 1, 9},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun May 05 16:56:21 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
@DisplayName("Test getFileName method with mock") void testGetFileName() { // Setup mock behavior String expectedFileName = "test-file.txt"; when(mockFileNotifyInfo.getFileName()).thenReturn(expectedFileName); // Test String fileName = mockFileNotifyInfo.getFileName(); // Verify assertEquals(expectedFileName, fileName);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/bytes/reader_test.go
} 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" r := NewReader([]byte(data)) if got, want := r.Len(), 11; got != want {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/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)