- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 1,599 for 1byte (0.07 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL); // Test complete wire format writing byte[] setupBuffer = new byte[256]; byte[] paramBuffer = new byte[512]; byte[] dataBuffer = new byte[256]; int setupWritten = trans2QueryPathInfo.writeSetupWireFormat(setupBuffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
sdd.useUnicode = false; // format byte + path + null terminator byte[] expected = new byte[1 + dirName.length() + 1]; expected[0] = 0x04; // buffer format System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length()); expected[dirName.length() + 1] = 0x00; // null terminator byte[] dst = new byte[100]; int len = sdd.writeBytesWireFormat(dst, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/config/crypto.go
// The context is bound to the returned ciphertext. // // The same context must be provided when decrypting the // ciphertext. func EncryptBytes(k *kms.KMS, plaintext []byte, context kms.Context) ([]byte, error) { ciphertext, err := Encrypt(k, bytes.NewReader(plaintext), context) if err != nil { return nil, err } return io.ReadAll(ciphertext) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 4.7K bytes - Click Count (0) -
logger/sql_test.go
} func (s ExampleStruct) Value() (driver.Value, error) { return json.Marshal(s) } func format(v []byte, escaper string) string { return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper } func TestExplainSQL(t *testing.T) { type role string type password []byte type intType int type floatType float64 var ( tt = now.MustParse("2020-02-23 11:10:10")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
securityDescriptorBytes[22] = 8; // ACL size (low byte) securityDescriptorBytes[23] = 0; // ACL size (high byte) securityDescriptorBytes[24] = 0; // ACE count (low byte) - 0 ACEs securityDescriptorBytes[25] = 0; // ACE count (high byte) securityDescriptorBytes[26] = 0; // sbz2 (low byte) securityDescriptorBytes[27] = 0; // sbz2 (high byte)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
/** * Encrypts the given data. * * @param data * the data to encrypt * @return the encrypted data */ public byte[] encrypt(final byte[] data) { final Cipher cipher = pollEncryptoCipher(); byte[] encrypted; try { encrypted = cipher.doFinal(data); } catch (final IllegalBlockSizeException e) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(0x01, dst[0], "Data block type"); assertEquals(3, dst[1] & 0xFF, "Data length low byte"); assertEquals(0, dst[2] & 0xFF, "Data length high byte"); assertEquals(2, dst[3], "First data byte"); assertEquals(3, dst[4], "Second data byte"); assertEquals(4, dst[5], "Third data byte"); } /** * Test readParameterWordsWireFormat always returns 0 */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
* The file ID to close */ public Smb2CloseRequest(final Configuration config, final byte[] fileId) { this(config, fileId, ""); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[]) */ @Override public void setFileId(final byte[] fileId) { this.fileId = fileId; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); out.write(new byte[] {1, 2, 3, 4}); out.close(); assertTrue(sink.wasStreamClosed()); assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes()); } public void testWrite_bytes() throws IOException { assertArrayEquals(new byte[0], sink.getBytes()); sink.write(bytes);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); out.write(new byte[] {1, 2, 3, 4}); out.close(); assertTrue(sink.wasStreamClosed()); assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes()); } public void testWrite_bytes() throws IOException { assertArrayEquals(new byte[0], sink.getBytes()); sink.write(bytes);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0)