- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 626 for somex (0.01 seconds)
-
docs/zh/docs/advanced/security/http-basic-auth.md
{* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} 这类似于: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Return some error ... ``` 但使用 `secrets.compare_digest()`,可以防御**时差攻击**,更加安全。 ### 时差攻击 什么是**时差攻击**? 假设攻击者试图猜出用户名与密码。 他们发送用户名为 `johndoe`,密码为 `love123` 的请求。 然后,Python 代码执行如下操作: ```PythonCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.2K bytes - Click Count (0) -
internal/dsync/drwmutex.go
done = true } case <-ctx.Done(): // Refreshing is canceled return false, ctx.Err() } if done { break } } // We may have some unused results in ch, release them async. go func() { wg.Wait() xioutil.SafeClose(ch) for range ch { } }() noQuorum := lockNotFound > len(restClnts)-quorum return noQuorum, nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.3K bytes - Click Count (0) -
internal/s3select/csv/reader.go
dst = make([]byte, 0, skip+1024) } dst = dst[:skip] if skip > 0 { n, err := io.ReadFull(r.buf, dst) if err != nil && err != io.ErrUnexpectedEOF { // If an EOF happens after reading some but not all the bytes, // ReadFull returns ErrUnexpectedEOF. return dst[:n], err } dst = dst[:n] if err == io.ErrUnexpectedEOF { return dst, io.EOF } } // Read until next line.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
private fun CtClass.isLikelyEquivalentTo(ktTypeReference: KtTypeReference): Boolean { val ktTypeAsText = ktTypeReference.text if (ktTypeAsText.contains(" -> ")) { // This is a function of some sort return name.startsWith("kotlin.jvm.functions.Function") } val ktTypeRawName = ktTypeAsText .trimEnd('?') // nullability is not part of JVM types
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* @return file paths to place on the different tool options */ @Nonnull Map<PathType, List<Path>> getDispatchedPaths(); /** * {@return all dependencies associated with their paths} * Some dependencies may be associated with a null value if there is no path available. */ @Nonnull Map<Dependency, Path> getDependencies(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
} // These methods deal with construction intact Plugin object that look like they come from a standard // <plugin/> block in a Maven POM. We have to do some wiggling to pull the sources of information // together and this really shows the problem of constructing a sensible default configuration, but // it's all encapsulated here so it appears normalized to the POM builder.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 9K bytes - Click Count (0) -
ci/official/utilities/setup.sh
export TFCI_INSTALLER_WHL_PROJECT_NAME="$TFCI_INSTALLER_WHL_NIGHTLY_PROJECT_NAME" fi export project_name="$TFCI_INSTALLER_WHL_PROJECT_NAME" fi # Mac builds have some specific setup needs. See setup_macos.sh for details if [[ "${OSTYPE}" =~ darwin* ]]; then source ./ci/official/utilities/setup_macos.sh fi # Create and expand to the full path of TFCI_OUTPUT_DIRCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 6.2K bytes - Click Count (0) -
impl/maven-core/src/main/resources/META-INF/maven/extension.xml
| to be made available to plugin authors. If we find people are getting fancy and want to take advantage of | Guice specifics we can expose that later. Really some testing needs to be done to see full hiding | of Guice has any impact on what we may categorize as a standard JSR-330 based Tesla/Maven plugin. <exportedPackage>com.google.inject.*</exportedPackage>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:07:06 GMT 2025 - 12.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
List<PluginUpgrade> upgrades = PluginUpgradeStrategy.getPluginUpgrades(); assertFalse(upgrades.isEmpty(), "Should have predefined plugin upgrades"); // Verify some expected plugins are included boolean hasCompilerPlugin = upgrades.stream().anyMatch(upgrade -> "maven-compiler-plugin".equals(upgrade.artifactId())); boolean hasExecPlugin =
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
internal/config/config.go
if spc { s.WriteString(KvDoubleQuote) } s.WriteString(kv.Value) if spc { s.WriteString(KvDoubleQuote) } return s.String() } // KVS - is a shorthand for some wrapper functions // to operate on list of key values. type KVS []KV // Empty - return if kv is empty func (kvs KVS) Empty() bool { return len(kvs) == 0 } // Clone - returns a copy of the KVSCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0)