Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,908 for vscode (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, mockChunk1, mockChunk2);
                byte[] buffer = new byte[200];
    
                // When
                copy.encode(buffer, 0);
    
                // Then
                verify(mockChunk1, times(1)).encode(eq(buffer), eq(HEADER_SIZE));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top