- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 1,148 for headers (0.04 sec)
-
src/archive/zip/zip_test.go
} } func testValidHeader(h *FileHeader, t *testing.T) { var buf bytes.Buffer z := NewWriter(&buf) f, err := z.CreateHeader(h) if err != nil { t.Fatalf("error creating header: %v", err) } if _, err := f.Write([]byte("hi")); err != nil { t.Fatalf("error writing content: %v", err) } if err := z.Close(); err != nil { t.Fatalf("error closing zip writer: %v", err) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
cmd/data-usage-cache.go
defer cancel() r, err := store.GetObjectNInfo(ctx, minioMetaBucket, pathJoin(bucketMetaPrefix, name), nil, http.Header{}, ObjectOptions{NoLock: true}) if err != nil { switch err.(type) { case ObjectNotFound, BucketNotFound: r, err = store.GetObjectNInfo(ctx, dataUsageBucket, name, nil, http.Header{}, ObjectOptions{NoLock: true}) if err != nil { switch err.(type) { case ObjectNotFound, BucketNotFound:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.7K bytes - Viewed (0) -
docs/hu/docs/index.md
* JSON. * Cím paraméterek. * Query paraméterek. * Cookie-k. * Header-ök. * Formok. * Fájlok. * Kimeneti adatok <abbr title=" más néven: serialization, parsing, marshalling">átváltása</abbr>: Python adatok is típusokról hálózati adatokká:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 20.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.testers; import static com.google.common.collect.testing.Helpers.getMethod; import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * Tests for {@link SmbComLockingAndX}. The source class exposes * its wire-format helpers as protected methods and its internal state * is stored in private fields; tests make use of the same package to * access those members directly. */ @ExtendWith(MockitoExtension.class) class SmbComLockingAndXTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] buffer = createValidNotificationBuffer("", FileNotifyInformation.FILE_ACTION_ADDED); int bytesRead = notifyInfo.decode(buffer, 0, buffer.length); assertTrue(bytesRead >= 12); // At least the header bytes assertEquals("", notifyInfo.getFileName()); } /** * Helper method to create a valid notification buffer */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
byte[] expectedBytes = unicodeFileName.getBytes(StandardCharsets.UTF_16LE); assertEquals(32 + expectedBytes.length, bytesWritten); // Verify filename length in header int fnLength = buffer[Smb2Constants.SMB2_HEADER_LENGTH + 26] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 27] << 8); assertEquals(expectedBytes.length, fnLength); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
// Read from buffer ByteArrayInputStream bais = new ByteArrayInputStream(buffer); SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig); // Skip header (already read by parent class) bais.skip(4); readPacket.type = buffer[0] & 0xFF; readPacket.length = ((buffer[1] & 0x01) << 16) + ((buffer[2] & 0xFF) << 8) + (buffer[3] & 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
@Test void readWireFormat_shouldDelegateToParent() { // Arrange nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); byte[] src = new byte[200]; // Setup minimal valid header src[0] = 0x00; src[1] = 0x01; // Transaction ID src[2] = 0x00; // Flags src[3] = 0x00; // Flags src[4] = 0x00; src[5] = 0x01; // Question count
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
assertTrue(s.contains("totalParameterCount="), "string representation contains totalParameterCount field"); } /** * Verify that readParameterWordsWireFormat parses the SMB header * correctly and updates all relevant members. */ @Test public void readParameterWordsWireFormat_parsesHeaderCorrectly() { DummyResponse d = new DummyResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)