- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 113 for Algorithms (0.06 seconds)
-
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
/** * Validates if the compression algorithm is known. * * @param algorithm the algorithm to validate * @return true if the algorithm is known */ private boolean isValidCompressionAlgorithm(int algorithm) { return algorithm == COMPRESSION_NONE || algorithm == COMPRESSION_LZ77 || algorithm == COMPRESSION_LZ77_HUFFMANCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
cmd/sftp-server.go
found = true break } } if !found { logger.Fatal(fmt.Errorf("unknown algorithm %q passed to --sftp=%s\nValid algorithms: %v", algo, arg, strings.Join(allowed, ", ")), "unable to start SFTP server") } } if len(filteredAlgos) == 0 { logger.Fatal(fmt.Errorf("no valid algorithms passed to --sftp=%s\nValid algorithms: %v", arg, strings.Join(allowed, ", ")), "unable to start SFTP server") } return filteredAlgos }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
*/ open class CompressionInterceptor( vararg val algorithms: DecompressionAlgorithm, ) : Interceptor { internal val acceptEncoding = algorithms .map { it.encoding }.joinToString(separator = ", ") override fun intercept(chain: Interceptor.Chain): Response = if (algorithms.isNotEmpty() && chain.request().header("Accept-Encoding") == null) { val request =
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 2.9K bytes - Click Count (1) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
} @Test @DisplayName("Test supported algorithms") public void testSupportedAlgorithms() { int[] algorithms = context.getCompressionAlgorithms(); assertNotNull(algorithms); assertEquals(3, algorithms.length); assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param algorithm the compression algorithm to check * @return true if the algorithm is supported */ boolean isAlgorithmSupported(int algorithm); /** * Gets the list of supported compression algorithms. * * @return array of supported algorithm constants */ int[] getSupportedAlgorithms(); /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.py
headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None: raise credentials_exception token_data = TokenData(username=username) except InvalidTokenError: raise credentials_exception user = get_user(fake_users_db, username=token_data.username)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 4K bytes - Click Count (0) -
docs_src/security/tutorial004_py39.py
headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None: raise credentials_exception token_data = TokenData(username=username) except InvalidTokenError: raise credentials_exception user = get_user(fake_users_db, username=token_data.username)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
detail="Could not validate credentials", headers={"WWW-Authenticate": authenticate_value}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub") if username is None: raise credentials_exception scope: str = payload.get("scope", "") token_scopes = scope.split(" ")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.2K bytes - Click Count (0) -
docs_src/security/tutorial004_an_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 4.1K bytes - Click Count (0) -
docs_src/security/tutorial005_an_py310.py
detail="Could not validate credentials", headers={"WWW-Authenticate": authenticate_value}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None: raise credentials_exception scope: str = payload.get("scope", "") token_scopes = scope.split(" ")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.3K bytes - Click Count (0)