- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 93 for 0x10000 (0.04 seconds)
-
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
public static final int SMB2_SHAREFLAG_FORCE_LEVEL2_OPLOCK = 0x1000; /** * Share flag indicating that hash generation V1 is enabled for this share. */ public static final int SMB2_SHAREFLAG_ENABLE_HASH_V1 = 0x2000; /** * Share flag indicating that hash generation V2 is enabled for this share. */ public static final int SMB2_SHAREFLAG_ENABLE_HASH_V2 = 0x4000; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
// The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB) assertTrue(buffer.length > 0, "Buffer size should be positive"); assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB"); } /** * Test that releaseBuffer validates buffer before accepting it. */ @Test public void testReleaseBufferValidation() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
assertEscaping(e, "%00", '\u0000'); // nul assertEscaping(e, "%7F", '\u007f'); // del assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000 assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111 assertEscaping(e, "%E0%A0%80", '\u0800'); // xxx-0000,x-100000,x-00,0000 assertEscaping(e, "%EF%BF%BF", '\uffff'); // xxx-1111,x-111111,x-11,1111 assertUnicodeEscaping(e, "%F0%90%80%80", '\uD800', '\uDC00');Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("SmbComQueryInformationResponse[")); assertTrue(result.contains("fileAttributes=0x0000")); assertTrue(result.contains("lastWriteTime=" + new Date(0L))); assertTrue(result.contains("fileSize=0")); assertTrue(result.endsWith("]")); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
assertEquals((byte) 0x10, SmbComTransaction.TRANS2_GET_DFS_REFERRAL); assertEquals((byte) 0x08, SmbComTransaction.TRANS2_SET_FILE_INFORMATION); // Test NET subcommands assertEquals(0x0000, SmbComTransaction.NET_SHARE_ENUM); assertEquals(0x0068, SmbComTransaction.NET_SERVER_ENUM2); assertEquals(0x00D7, SmbComTransaction.NET_SERVER_ENUM3); // Test TRANS subcommands
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
/** * Benchmarks for various ways of writing the expression {@code foo + ((bar < baz) ? 1 : 0)}. * * @author Louis Wasserman */ @NullUnmarked public class LessThanBenchmark { static final int SAMPLE_SIZE = 0x1000; static final int SAMPLE_MASK = 0x0FFF; @Param("1234") int randomSeed; int[] xInts; int[] yInts; long[] xLongs; long[] yLongs; int[] constant;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
byte[] encryptionKey = "12345678".getBytes(); ByteBuffer buffer = ByteBuffer.allocate(response.byteCount); buffer.put(encryptionKey); buffer.put(domainNameBytes); buffer.putShort((short) 0x0000); // Null terminator byte[] byteData = buffer.array(); // Call the method int bytesRead = response.readBytesWireFormat(byteData, 0); // Assertions
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
assertEquals(0x40, SecurityInfo.SCOPE_SECURITY_INFO); } @Test @DisplayName("Test BACKUP_SECURITY_INFO constant value") void testBackupSecurityInfo() { assertEquals(0x1000, SecurityInfo.BACKUP_SECURITY_INFO); } @Test @DisplayName("Test all constants are public static final") void testConstantsArePublicStaticFinal() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
table.map(-1, Buffer()) } table.map(0, Buffer()) // Lowest legal code point. table.map(0x10ffff, Buffer()) // Highest legal code point. assertFailsWith<IllegalArgumentException> { table.map(0x110000, Buffer()) } } @Test fun binarySearchEvenSizedRange() { val table = listOf(1, 3, 5, 7, 9, 11) // Search for matches.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
this.call = (pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_CALL) == SmbPipeResource.PIPE_TYPE_CALL; this.openFlags = pipe.getPipeType() & 0xFFFF00FF | SmbConstants.O_EXCL; this.access = pipe.getPipeType() & 7 | 0x20000; this.uncPath = this.pipe.getUncPath(); } /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0)