- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,908 for vscode (0.03 sec)
-
cmd/postpolicyform.go
if sset.Contains(kv.Key) { // Reject duplicate conditions or expiration. return nil, fmt.Errorf("input policy has multiple %s, please fix your client code", kv.Key) } sset.Add(kv.Key) } } e.Encode(kvs) } } return &buf, d.Err() } // parsePostPolicyForm - Parse JSON policy string into typed PostPolicyForm structure.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.1K bytes - Viewed (0) -
docs/em/docs/advanced/response-change-status-code.md
# ๐จ - ๐ ๐ ๐ ๐ ๐ฒ โ โญ ๐ ๐ ๐ช โ ๐ข [๐จ ๐ ๐](../tutorial/response-status-code.md){.internal-link target=_blank}. โ๏ธ ๐ผ ๐ ๐ช ๐จ ๐ ๐ ๐ ๐ ๐ข. ## โ๏ธ ๐ผ ๐ผ, ๐ ๐ ๐ ๐ ๐จ ๐บ๐ธ๐ ๐ ๐ "๐" `200` ๐ข. โ๏ธ ๐ฅ ๐ฝ ๐ซ ๐, ๐ ๐ โ โซ๏ธ, & ๐จ ๐บ๐ธ๐ ๐ ๐ "โ" `201`. โ๏ธ ๐ ๐ ๐ช โฝ & ๐ ๐ฝ ๐ ๐จ โฎ๏ธ `response_model`. ๐ ๐ผ, ๐ ๐ช โ๏ธ `Response` ๐ข. ## โ๏ธ `Response` ๐ข
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(0x1111, response.getSecurityMode(), "First decode security mode"); assertEquals(0x0210, response.getDialect(), "First decode dialect"); // Second decode - should overwrite values byte[] buffer2 = new byte[50]; SMBUtil.writeInt4(0x22222222, buffer2, 0); SMBUtil.writeInt2(0x2222, buffer2, 20); SMBUtil.writeInt2(0x0311, buffer2, 22);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12); System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length); // Decode int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length); // Verify results assertEquals(namedPipeState, response.getNamedPipeState()); assertEquals(readDataAvailable, response.getReadDataAvailable());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test decode with valid single entry") void testDecodeValidSingleEntry() throws SMBProtocolDecodingException { String fileName = "document.pdf"; int action = FileNotifyInformation.FILE_ACTION_MODIFIED; byte[] buffer = createValidNotificationBuffer(fileName, action); int bytesRead = notifyInfo.decode(buffer, 0, buffer.length); assertTrue(bytesRead > 0);
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/nego/NegotiateContextRequestTest.java
// Encode byte[] buffer = new byte[1024]; int encodedSize = original.encode(buffer, 0); // Decode PreauthIntegrityNegotiateContext decoded = new PreauthIntegrityNegotiateContext(); int decodedSize = decoded.decode(buffer, 0, encodedSize); // Verify
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
} @Test @DisplayName("encode() method should be callable") void testEncodeMethod() { CreateContextRequest request = mock(CreateContextRequest.class); byte[] buffer = new byte[100]; when(request.encode(any(byte[].class), anyInt())).thenReturn(16); int result = request.encode(buffer, 0); assertEquals(16, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
docs/ko/docs/advanced/response-change-status-code.md
# ์๋ต - ์ํ ์ฝ๋ ๋ณ๊ฒฝ ๊ธฐ๋ณธ [์๋ต ์ํ ์ฝ๋ ์ค์ ](../tutorial/response-status-code.md){.internal-link target=_blank}์ด ๊ฐ๋ฅํ๋ค๋ ๊ฑธ ์ด๋ฏธ ์๊ณ ๊ณ์ค ๊ฒ๋๋ค. ํ์ง๋ง ๊ฒฝ์ฐ์ ๋ฐ๋ผ ๊ธฐ๋ณธ ์ค์ ๊ณผ ๋ค๋ฅธ ์ํ ์ฝ๋๋ฅผ ๋ฐํํด์ผ ํ ๋๊ฐ ์์ต๋๋ค. ## ์ฌ์ฉ ์ ์๋ฅผ ๋ค์ด ๊ธฐ๋ณธ์ ์ผ๋ก HTTP ์ํ ์ฝ๋ "OK" `200`์ ๋ฐํํ๊ณ ์ถ๋ค๊ณ ๊ฐ์ ํด ๋ด ์๋ค. ํ์ง๋ง ๋ฐ์ดํฐ๊ฐ ์กด์ฌํ์ง ์์ผ๋ฉด ์ด๋ฅผ ์๋ก ์์ฑํ๊ณ , HTTP ์ํ ์ฝ๋ "CREATED" `201`์ ๋ฐํํ๊ณ ์ ํ ๋๊ฐ ์์ ์ ์์ต๋๋ค. ์ด๋๋ ์ฌ์ ํ `response_model`์ ์ฌ์ฉํ์ฌ ๋ฐํํ๋ ๋ฐ์ดํฐ๋ฅผ ํํฐ๋งํ๊ณ ๋ณํํ๊ณ ์ถ์ ์ ์์ต๋๋ค. ์ด๋ฐ ๊ฒฝ์ฐ์๋ `Response` ํ๋ผ๋ฏธํฐ๋ฅผ ์ฌ์ฉํ ์ ์์ต๋๋ค. ## `Response` ํ๋ผ๋ฏธํฐ ์ฌ์ฉํ๊ธฐ
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
} @Test @DisplayName("Test decode with owner SID only") void testDecodeWithOwnerSidOnly() throws SMBProtocolDecodingException { // Prepare buffer with owner SID only prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false); int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length); // decode returns 0 when no DACL is present (falls through)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0)