- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 89 for assignment (0.12 sec)
-
src/main/java/jcifs/pac/PacDataInputStream.java
import java.math.BigInteger; import java.util.Date; import jcifs.SmbConstants; import jcifs.smb.SID; /** * Input stream for reading PAC data structures with proper alignment and byte ordering. * Handles little-endian byte order and data alignment requirements of PAC structures. */ public class PacDataInputStream { private final DataInputStream dis; private final int size; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
smbComOpenAndX.useUnicode = true; // For Unicode: 1 byte (initial null in writeBytesWireFormat) // + potential 1 byte alignment (in writeString) + fileName.length() * 2 + 2 bytes (terminating nulls) // Since headerStart is 0 and dstIndex starts at 1 (after initial null), (1-0)%2=1, so alignment byte added // Total: 1 + 1 + 12*2 + 2 = 28 bytes byte[] dst = new byte[30]; // Use extra buffer space to avoid index errors
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* null elements. * * @return the paths of all dependencies */ @Nonnull List<Path> getPaths(); /** * Returns the file paths of all dependencies and their assignments to different paths. * The {@link PathType} keys identify, for example, {@code --class-path} or {@code --module-path} options. * In the case of Java tools, the map may also contain {@code --patch-module} options, which are
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
} String readString(final byte[] src, final int srcIndex, int len) { String str = null; try { if (useUnicode) { // should Unicode alignment be corrected for here? str = new String(src, srcIndex, len, UNI_ENCODING); } else { /* On NT without Unicode the fileNameLength
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
/** * Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or * "h2". * * See also [IANA tls-extensiontype-values][iana]. * * [iana]: https://www.iana.org/assignments/tls-extensiontype-values */ override fun toString(): String = protocol companion object { /** * Returns the protocol identified by `protocol`. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 23 18:58:57 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Then // The writeBytesWireFormat writes the structure and calculates padding // Base structure: 24 bytes, then pad8 alignment, then token: 5 bytes // Total bytes written includes padding for 8-byte alignment int expectedBytesWritten = 35; assertEquals(expectedBytesWritten, bytesWritten); // Verify structure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
* may be necessary in certain situations for compatibility. */ public static final MediaType TEXT_JAVASCRIPT_UTF_8 = createConstantUtf8(TEXT_TYPE, "javascript"); /** * <a href="http://www.iana.org/assignments/media-types/text/tab-separated-values">Tab separated * values</a>. * * @since 15.0 */ public static final MediaType TSV_UTF_8 = createConstantUtf8(TEXT_TYPE, "tab-separated-values");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java
} @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } @Override public int size() { // Context header (16) + name length (4) + padding to 8-byte alignment + data (16) return 16 + 4 + 4 + STRUCTURE_SIZE; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex; // Write context header
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
String testString = "Aligned Unicode"; byte[] buffer = new byte[testString.length() * 2 + 2 + 1]; // +1 for alignment int len = smb.writeString(testString, buffer, 1); // When dstIndex=1 and headerStart=1, (1-1)%2=0, no alignment padding needed // Length is string bytes (15*2) + 2 null terminators = 32 assertEquals(testString.length() * 2 + 2, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
int writeString(final String str, final byte[] dst, int dstIndex, final boolean useUnicode) { final int start = dstIndex; try { if (useUnicode) { // Unicode requires word alignment if ((dstIndex - headerStart) % 2 != 0) { dst[dstIndex++] = (byte) '\0'; } System.arraycopy(str.getBytes(UNI_ENCODING), 0, dst, dstIndex, str.length() * 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0)