- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 130 for 4097 (0.02 seconds)
-
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
buffer.putInt(16); buffer.putInt(4096); // When fileFsFullSizeInfo.decode(buffer.array(), 0, 32); String result = fileFsFullSizeInfo.toString(); // Then String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]"; assertEquals(expected, result); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
void testConstructorWithValidParameters() { // Given long sourceOffset = 1024L; long targetOffset = 2048L; int length = 4096; // When SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); // Then assertNotNull(chunk); } @ParameterizedTest
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
*/ public abstract class InputStreamUtil { /** * Do not instantiate. */ protected InputStreamUtil() { } /** Default buffer size. */ private static final int BUF_SIZE = 4096; /** * Creates a {@link FileInputStream}. * * @param file the file (must not be {@literal null}) * @return a {@link FileInputStream} to read from the fileCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java
this.maxReferralLevel = maxReferralLevel; this.request = new DfsReferralRequestBuffer(filename, maxReferralLevel); this.totalDataCount = 0; this.maxParameterCount = 0; this.maxDataCount = 4096; this.maxSetupCount = (byte) 0x00; } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#isForceUnicode() */ @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
String str = standardInfo.toString(); assertNotNull(str); assertTrue(str.contains("SmbQueryInfoStandard")); assertTrue(str.contains("allocationSize=4096")); assertTrue(str.contains("endOfFile=2048")); } } @Nested @DisplayName("Data Reading Tests") class DataReadingTests { @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
responses += response routes += route if (!schemeMatches(response) || credential == null) return null val header = when (response.code) { 407 -> "Proxy-Authorization" else -> "Authorization" } return response.request .newBuilder() .addHeader(header, credential) .build() }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
internal/s3select/jstream/scanner.go
package jstream import ( "io" "sync/atomic" ) const ( chunk = 4095 // ~4k maxUint = ^uint(0) maxInt = int64(maxUint >> 1) nullByte = byte(0) ) type scanner struct { pos int64 // position in reader ipos int64 // internal buffer position ifill int64 // internal buffer fill end int64 buf [chunk + 1]byte // internal buffer (with a lookback size of 1)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 23 19:35:41 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
// Arrange common constructor collaborators to avoid touching network/state when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(true); when(tree.getSendBufferSize()).thenReturn(4096); // Act return new SmbPipeOutputStream(handle, tree); } @ParameterizedTest @ValueSource(booleans = { true, false }) @DisplayName("isOpen delegates to handle.isOpen")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
bufferIndex += 2; final int numAces = ServerMessageBlock.readInt4(buffer, bufferIndex); bufferIndex += 4; if (numAces > 4096) { throw new IOException("Invalid SecurityDescriptor"); } aces = new ACE[numAces]; for (int i = 0; i < numAces; i++) { aces[i] = new ACE();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file"); assertEquals("/file", getPrivateField(cmd, "path")); assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount")); assertEquals(4096, getPrivateField(cmd, "maxDataCount")); } @Test @DisplayName("writeSetupWireFormat writes subCommand and padding") void testWriteSetup() throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0)