- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 857 for HEADER (0.2 sec)
-
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); } @TestRegistered: 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/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) -
okhttp/api/android/okhttp.api
public fun close ()V public final fun code ()I public final fun handshake ()Lokhttp3/Handshake; public final fun header (Ljava/lang/String;)Ljava/lang/String; public final fun header (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; public static synthetic fun header$default (Lokhttp3/Response;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Ljava/lang/String; public final fun headers ()Lokhttp3/Headers;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K 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 countRegistered: 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) -
docs/site-replication/run-ssec-object-replication-with-compression.sh
# Below should fail as compression and SSEC used at the same time # DISABLED: We must check the response header to see if compression was actually applied #RESULT=$({ ./mc put /tmp/data/mpartobj.txt minio1/test-bucket/mpartobj.txt --enc-c "minio1/test-bucket/mpartobj.txt=${TEST_MINIO_ENC_KEY}" --insecure; } 2>&1)Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
return ((data >= parity) && (data > 0) && (parity >= 0)) } //msgp:clearomitted //go:generate msgp -file=$GOFILE -unexported // A xlMetaV1Object represents `xl.meta` metadata header. type xlMetaV1Object struct { Version string `json:"version"` // Version of the current `xl.meta`. Format string `json:"format"` // Format of the current `xl.meta`.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/en/docs/release-notes.md
``` Read the new docs: [Query Parameter Models](https://fastapi.tiangolo.com/tutorial/query-param-models/). #### `Header` Parameter Models Use Pydantic models for `Header` parameters: ```python from typing import Annotated from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0)