- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 544 for char (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
// Should be: 4 (nextOffset) + 4 (action) + 4 (nameLength) + fileName bytes int expectedBytes = 12 + (fileName.length() * 2); // Unicode is 2 bytes per char assertEquals(expectedBytes, bytesRead); } @Test @DisplayName("Test getAction returns correct value") void testGetAction() throws SMBProtocolDecodingException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
TF_DeletePluggableDeviceLibraryHandle(lib); #endif // !defined(TENSORFLOW_NO_SHARED_OBJECTS) #endif // !defined(PLATFORM_WINDOWS) } void DefineFunction(const char* name, TF_Function** func, const char* description = nullptr, bool append_hash = false) { std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph( TF_NewGraph(), TF_DeleteGraph);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
int size = (int) longSize; if (size != longSize) { throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize); } char[] array = new char[size]; string.getChars(0, len, array, 0); int n; for (n = len; n < size - n; n <<= 1) { System.arraycopy(array, 0, array, n, n); } System.arraycopy(array, 0, array, n, size - n);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java
* @param beanDelimiter * The delimiter for JavaBeans. * @return A {@link CopyOptions} with the specified delimiter for JavaBeans. * @see CopyOptions#beanDelimiter(char) */ public static CopyOptions beanDelimiter(final char beanDelimiter) { return new CopyOptions().beanDelimiter(beanDelimiter); } /** * Returns a {@link CopyOptions} with the specified delimiter for {@literal Map}.Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
BufferedReader reader = source.openBufferedStream(); assertTrue(source.wasStreamOpened()); assertFalse(source.wasStreamClosed()); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertTrue(source.wasStreamClosed());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertTrue(raf.readBoolean()); assertEquals((byte) 0xFF, raf.readByte()); assertEquals(0xFF, raf.readUnsignedByte()); } @Test @DisplayName("readShort/UnsignedShort/Char: big-endian decoding") void read_twoByteVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); doAnswer(inv -> { byte[] b = inv.getArgument(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
actual += expected; } assertEquals(EXPECTED_FOUR_BYTE_ROUNDTRIPPABLE_COUNT, actual); } private static String newString(char... chars) { return new String(chars); } private static byte[] toByteArray(int... bytes) { byte[] realBytes = new byte[bytes.length]; for (int i = 0; i < bytes.length; i++) { realBytes[i] = (byte) bytes[i];Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
int i = 0; // This loop optimizes for pure ASCII. while (i < utf16Length && sequence.charAt(i) < 0x80) { i++; } // This loop optimizes for chars less than 0x800. for (; i < utf16Length; i++) { char c = sequence.charAt(i); if (c < 0x800) { utf8Length += (0x7f - c) >>> 31; // branch free! } else { utf8Length += encodedLengthGeneral(sequence, i); break;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CharUtil.java
* * @param c the character to check * @return {@code true} if the character is a valid URL character, {@code false} otherwise */ public static boolean isUrlChar(final char c) { if (c >= 'a' && c <= 'z' // || c >= 'A' && c <= 'Z' // || c >= '0' && c <= '9' // || c == '.' // || c == '-' // || c == '*' //Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.3K bytes - Viewed (0) -
src/cmd/cgo/doc.go
or misaligned data, are omitted in the Go struct, replaced by appropriate padding to reach the next field or the end of the struct. The standard C numeric types are available under the names C.char, C.schar (signed char), C.uchar (unsigned char), C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int), C.long, C.ulong (unsigned long), C.longlong (long long), C.ulonglong (unsigned long long), C.float, C.double,
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K bytes - Viewed (0)