Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 808 for encodes (0.06 seconds)

  1. docs_src/security/tutorial004_py310.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        credentials_exception = HTTPException(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/StringsTest.java

                assertNotNull(result, "Should return non-null array");
                assertEquals(0, result.length, "Should return empty array for null string");
            }
    
            @Test
            @DisplayName("getBytes should encode string with specified charset")
            void testGetBytesWithCharset() {
                // When
                byte[] utf8Bytes = Strings.getBytes(TEST_STRING, StandardCharsets.UTF_8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                                append = true;
                            }
                            locationBuf.append(urlCodec.encode(key, encoding));
                            locationBuf.append('=');
                            locationBuf.append(urlCodec.encode(value, encoding));
                        }
    
                    }
                    final HttpServletResponse res = (HttpServletResponse) response;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            dstIndex += 4; // Reserved2
    
            if (this.inputData != null) {
                SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, inputOffsetOffset);
                final int len = this.inputData.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inputLengthOffset);
                dstIndex += len;
            } else {
                SMBUtil.writeInt4(0, dst, inputOffsetOffset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. docs/ko/docs/advanced/websockets.md

    하지만 모든 것을 메모리의 단일 리스트로 처리하므로, 프로세스가 실행 중인 동안만 동작하며 단일 프로세스에서만 작동한다는 점을 기억하세요.
    
    FastAPI와 쉽게 통합할 수 있으면서 더 견고하고 Redis, PostgreSQL 등을 지원하는 도구가 필요하다면, [encode/broadcaster](https://github.com/encode/broadcaster)를 확인하세요.
    
    ///
    
    ## 추가 정보 { #more-info }
    
    다음 옵션에 대해 더 알아보려면 Starlette의 문서를 확인하세요:
    
    * [`WebSocket` 클래스](https://www.starlette.dev/websockets/).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. cmd/acl-handlers.go

    		Grantee: grantee{
    			XMLNS:  "http://www.w3.org/2001/XMLSchema-instance",
    			XMLXSI: "CanonicalUser",
    			Type:   "CanonicalUser",
    		},
    		Permission: "FULL_CONTROL",
    	})
    
    	if err := xml.NewEncoder(w).Encode(acl); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    }
    
    // PutObjectACLHandler - PUT Object ACL
    // -----------------
    // This operation uses the ACL subresource
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

        public byte[] getContextHandle() {
            return contextHandle != null ? contextHandle.clone() : null;
        }
    
        @Override
        protected void encodeWitnessParameters(NdrBuffer buf) throws NdrException {
            // Encode input parameters for WitnessUnregister
    
            // Context handle (20 bytes) - this is both input and output (modified)
            if (contextHandle != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            dstIndex += 2;
    
            // Flags (4 bytes)
            SMBUtil.writeInt4(flags, dst, dstIndex);
            dstIndex += 4;
    
            // LeaseKey (16 bytes)
            leaseKey.encode(dst, dstIndex);
            dstIndex += 16;
    
            // LeaseState (4 bytes)
            SMBUtil.writeInt4(leaseState, dst, dstIndex);
            dstIndex += 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            // Directory-specific data: 20 bytes (CacheScope(4) + MaxCacheAge(8) + Flags(4) + NotificationFilter(4))
            return 16 + 4 + 4 + 32 + 20;
        }
    
        @Override
        public int encode(byte[] buffer, int offset) {
            int start = offset;
    
            // Write context header
            SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last)
            offset += 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            verify(raf).write(any(byte[].class), eq(0), eq(2)); // bytes
            verify(raf).write(any(byte[].class), eq(0), eq(4)); // chars
        }
    
        @Test
        @DisplayName("writeUTF(): prefixes size and writes encoded bytes")
        void writeUTF_encodesAndPrefixes() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false));
            doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top