- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 798 for charsA (0.04 sec)
-
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
@Test @DisplayName("Test size calculation with short filename") void testSizeWithShortFilename() { FileRenameInformation2 info = new FileRenameInformation2("test.txt", false); // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36 assertEquals(36, info.size()); } @Test @DisplayName("Test size calculation with long filename") void testSizeWithLongFilename() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
imports = "com.google.common.io.Files") public static void copy(File from, Charset charset, Appendable to) throws IOException { asCharSource(from, charset).copyTo(to); } /** * Appends a character sequence (such as a string) to a file using the given character set. * * @param from the character sequence to append * @param to the destination file
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("000", Hexdump.toHexString(data1, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2) assertEquals("0001", Hexdump.toHexString(data1, 0, 4)); // 4 chars = 2 bytes assertEquals("000102", Hexdump.toHexString(data1, 0, 6)); // 6 chars = 3 bytes assertEquals("00010203", Hexdump.toHexString(data1, 0, 8)); // 8 chars = 4 bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
} char[] chars = new char[0]; assertThat(StringUtil.newStringUnsafe(chars), is("")); chars = new char[] { 'a', 'b', 'c' }; assertThat(StringUtil.newStringUnsafe(chars), is("abc")); chars = new char[] { 'a', 'b', 'c', ' ' }; assertThat(StringUtil.newStringUnsafe(chars), is("abc ")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
@CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename "file-with-special-chars!@#$%^&().bin" }) void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException { byte[] buffer = createValidNotificationBuffer(fileName, FileNotifyInformation.FILE_ACTION_ADDED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
.isEqualTo(1); assertThat( Chars.indexOf( new char[] {(char) 2, (char) 3, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3}, new char[] {(char) 2, (char) 3, (char) 4})) .isEqualTo(2); assertThat( Chars.indexOf( new char[] {(char) 2, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3, (char) 4},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
*/ private byte[] encodeUnicode(String s) { char[] chars = s.toCharArray(); byte[] out = new byte[chars.length * 2]; for (int i = 0; i < chars.length; i++) { out[2 * i] = (byte) (chars[i] & 0xFF); out[2 * i + 1] = (byte) ((chars[i] >> 8) & 0xFF); } return out; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 39.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
public List<Character> create(Character[] elements) { char[] chars = Chars.toArray(asList(elements)); return charactersOf(String.copyValueOf(chars)); } } public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator { @Override public List<Character> create(Character[] elements) { char[] chars = Chars.toArray(asList(elements));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5K bytes - Viewed (0) -
cmd/update.go
if strings.Contains(scanner.Text(), "chart=") { helmChartVersion := strings.TrimPrefix(scanner.Text(), "chart=") // remove quotes from the chart version return strings.Trim(helmChartVersion, `"`) } } return "" } // IsSourceBuild - returns if this binary is a non-official build from // source code. func IsSourceBuild() bool { _, err := minioVersionToReleaseTime(Version) return err != nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 18.9K bytes - Viewed (0)