- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 342 for getBytes (0.04 seconds)
-
src/main/java/org/codelibs/core/crypto/CachedCipher.java
* @param text * the text to encrypt * @return the encrypted text */ public String encryptText(final String text) { try { return Base64Util.encode(encrypt(text.getBytes(charsetName))); } catch (final UnsupportedEncodingException e) { throw new UnsupportedEncodingRuntimeException(e); } } /** * Encrypts the given text. *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) -
guava-tests/test/com/google/common/io/TestCharSource.java
private final TestByteSource byteSource; public TestCharSource(String content, TestOption... options) { this.byteSource = new TestByteSource(content.getBytes(UTF_8), options); } @Override public boolean wasStreamOpened() { return byteSource.wasStreamOpened(); } @Override public boolean wasStreamClosed() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
/** * Context name for durable handle V2 response */ public static final String CONTEXT_NAME = "DH2Q"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit) private int flags; /** * Create a new durable handle V2 response */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 41.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
/** * Context name for durable handle reconnect response */ public static final String CONTEXT_NAME = "DHnC"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); // The response structure is empty (0 bytes) for reconnect // No data is returned in a successful reconnect response /** * Create a new durable handle reconnect response */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java
return 0; } @Override int writeBytesWireFormat(final byte[] dst, final int dstIndex) { byte[] dialects; try { dialects = DIALECTS.getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } System.arraycopy(dialects, 0, dst, dstIndex, dialects.length); return dialects.length; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2K 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) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
} break; case 2: DERBitString bitString = ASN1Util.as(DERBitString.class, tagged); this.apOptions = bitString.getBytes()[0]; break; case 3: ASN1TaggedObject derTicket = ASN1Util.as(ASN1TaggedObject.class, tagged); if (derTicket.getTagClass() != BERTags.APPLICATION) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/util/EncdecTest.java
// Given String testString = "Hello"; byte[] buffer = new byte[testString.length()]; // When - Manual string encoding using individual bytes byte[] strBytes = testString.getBytes(); System.arraycopy(strBytes, 0, buffer, 0, strBytes.length); // Then String decoded = new String(buffer); assertEquals(testString, decoded); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
/** * Context name for durable handle reconnect */ public static final String CONTEXT_NAME = "DHnC"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private static final int STRUCTURE_SIZE = 16; private byte[] fileId; // 16-byte file ID from previous open /** * Create a new durable handle reconnect contextCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0)