- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 132 for 12345678 (0.06 sec)
-
cmd/xl-storage-format-utils_test.go
Parts: nil, Erasure: ErasureInfo{ Algorithm: ReedSolomon.String(), DataBlocks: 4, ParityBlocks: 2, BlockSize: 10000, Index: 1, Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8}, Checksums: []ChecksumInfo{{ PartNumber: 1, Algorithm: HighwayHash256S, Hash: nil, }}, }, MarkDeleted: false, NumVersions: 1,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
@Test @DisplayName("Should perform DES encryption/decryption") void testDES() throws Exception { // Given byte[] key = "testkey1".getBytes(); // 8 bytes for DES byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size) // When Cipher desCipher = Crypto.getDES(key); desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (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 CreateContextsOffset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16)); // Test different sizes assertEquals("00000000", Hexdump.toHexString(0L, 8)); assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8)); } @Test @DisplayName("Should handle special byte values correctly") void testSpecialByteValues() { // Test boundary values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
@Test @DisplayName("Should get NTLM challenge with address") void testGetChallengeWithAddress() throws CIFSException { // Given byte[] expectedChallenge = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; when(transportPool.getChallenge(context, address)).thenReturn(expectedChallenge); // When byte[] result = transportPool.getChallenge(context, address);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (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.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/bytes/compare_test.go
} func benchmarkCompareBytesBigUnaligned(b *testing.B, offset int) { b.StopTimer() b1 := make([]byte, 0, 1<<20) for len(b1) < 1<<20 { b1 = append(b1, "Hello Gophers!"...) } b2 := append([]byte("12345678")[:offset], b1...) b.StartTimer() for j := 0; j < b.N; j++ { if Compare(b1, b2[offset:]) != 0 { b.Fatal("b1 != b2") } } b.SetBytes(int64(len(b1))) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 13 23:11:42 UTC 2023 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("00FF", Hexdump.toHexString(255L, 4)); // Test larger values assertEquals("0000000012345678", Hexdump.toHexString(0x12345678L, 16)); assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8)); assertEquals("5678", Hexdump.toHexString(0x12345678L, 4)); // Test negative values (treated as unsigned)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3))); assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7))); assertPermutationsCount(40320, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7, 8))); } public void testPermutationSetSizeOverflow() { // 13 elements overflow an int assertEquals( Integer.MAX_VALUE,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0)