- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 84 for 01234567 (0.04 seconds)
-
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
* * @author Kevin Bourrillion */ @NullUnmarked public class AsciiBenchmark { private static final String ALPHA = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; private static final String NONALPHA = "0123456789`~-_=+[]{}|;:',.<>/?!@#$%^&*()\"\\"; @Param({"20", "2000"}) int size; @Param({"2", "20"}) int nonAlphaRatio; // one non-alpha char per this many chars @Param boolean noWorkToDo;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} @Test @DisplayName("writeInt4 should correctly write 32-bit integer") void testWriteInt4() { byte[] dst = new byte[8]; SessionServicePacket.writeInt4(0x12345678, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); assertEquals((byte) 0x56, dst[2]); assertEquals((byte) 0x78, dst[3]); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
src/bytes/example_test.go
// Output: // -gopher! // "go-gopher!" // go-gopher // go-gopher! } func ExampleTrimLeft() { fmt.Print(string(bytes.TrimLeft([]byte("453gopher8257"), "0123456789"))) // Output: // gopher8257 } func ExampleTrimLeftFunc() { fmt.Println(string(bytes.TrimLeftFunc([]byte("go-gopher"), unicode.IsLetter)))
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon May 12 16:07:54 GMT 2025 - 16.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertReadsCorrectly("abcde"); assertReadsCorrectly("abcdefghijkl"); assertReadsCorrectly( "" + "abcdefghijklmnopqrstuvwxyz\n" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ\r" + "0123456789\r\n" + "!@#$%^&*()-=_+\t[]{};':\",./<>?\\| "); } public void testMarkAndReset() throws IOException { String string = "abcdefghijklmnopqrstuvwxyz";
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 6.6K bytes - Click Count (0) -
src/main/java/jcifs/util/Hexdump.java
} /** * Array of hexadecimal digit characters used for converting binary data to hex representation. */ public static final char[] HEX_DIGITS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; /** * This is an alternative to the <code>java.lang.Integer.toHexString</code> * method. It is an efficient relative that also will pad the left side soCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
src/bufio/example_test.go
// Validate the input for scanner.Scan() { fmt.Printf("%s\n", scanner.Text()) } if err := scanner.Err(); err != nil { fmt.Printf("Invalid input: %s", err) } // Output: // 1234 // 5678 // Invalid input: strconv.ParseInt: parsing "1234567901234567890": value out of range } // Use a Scanner with a custom split function to parse a comma-separated // list with an empty final value.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacMacTest.java
assertNotNull(expanded); assertEquals(outlen, expanded.length); // Test vectors from RFC 3961 Appendix A.1 // 64-fold("012345") verifyNfold("012345", 8, new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 }); // 56-fold("password") verifyNfold("password", 7,
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
} @Test @DisplayName("Test setFileIndex method") void testSetFileIndex() { request = new Smb2QueryDirectoryRequest(mockConfig); int fileIndex = 0x12345678; request.setFileIndex(fileIndex); // Verify by writing to buffer and checking the fileIndex position byte[] buffer = new byte[1024];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Write test data to buffer int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE long lastWriteTime = System.currentTimeMillis(); int fileSize = 12345678; SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex); SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2); SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
// Name bytes at 0x10 byte[] name = new byte[] { 'T', 'E', 'S', 'T' }; System.arraycopy(name, 0, ctx, 0x10, name.length); // Data bytes at 0x20 byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; System.arraycopy(data, 0, ctx, 0x20, data.length); // Update base to point to the context area int offsetFieldPos = base.length - 8; // position of CreateContextsOffsetCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)