- Sort Score
- Num 10 results
- Language All
Results 1681 - 1690 of 6,702 for If (0.02 seconds)
-
internal/auth/credentials.go
// the given io.Reader. If random is nil, crypto/rand.Reader is used. // If length <= 0, the secret key length is chosen automatically. // // GenerateSecretKey returns an error if length is too small for a valid // secret key. func GenerateSecretKey(length int, random io.Reader) (string, error) { if random == nil { random = rand.Reader } if length <= 0 { length = secretKeyMaxLen }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
int oldValue = existingCounter.get(); if (oldValue < occurrences) { return false; } int newValue = oldValue - occurrences; if (existingCounter.compareAndSet(oldValue, newValue)) { if (newValue == 0) { // Just CASed to 0; remove the entry to clean up the map. If the removal fails, // another thread has already replaced it with a new counter, which is fine.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
This includes `pydantic.v1`, which is no longer supported in Python 3.14 and above. If you want to use the latest features of Python, you will need to make sure you use Pydantic v2. /// If you have an old FastAPI app with Pydantic v1, here I'll show you how to migrate it to Pydantic v2, and the **features in FastAPI 0.119.0** to help you with a gradual migration.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java
if (!lowerBound.equals(restriction.lowerBound)) { return false; } } else if (restriction.lowerBound != null) { return false; } if (lowerBoundInclusive != restriction.lowerBoundInclusive) { return false; } if (upperBound != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.3K bytes - Click Count (0) -
internal/jwt/parser_test.go
} if data.valid && err != nil { t.Errorf("Error while verifying token: %T:%v", err, err) } if !data.valid && err == nil { t.Errorf("Invalid token passed validation") } if data.errors != 0 { _, ok := err.(*jwt.ValidationError) if !ok { t.Errorf("Expected *jwt.ValidationError, but got %#v instead", err) } } })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting map will * not correctly obey its specification. * * <p>See the Guava User Guide article on <a href=Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 54.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
final String s = st.nextToken().trim(); if (s.equalsIgnoreCase("LMHOSTS")) { tmp[i] = RESOLVER_LMHOSTS; i++; } else if (s.equalsIgnoreCase("WINS")) { if (NbtAddress.getWINSAddress() == null) { if (LogStream.level > 1) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
docs/distributed/decom-encrypted-kes.sh
#!/bin/bash if [ -n "$TEST_DEBUG" ]; then set -x fi pkill minio pkill kes rm -rf /tmp/xl if [ ! -f ./mc ]; then wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc && chmod +x mc fi if [ ! -f ./kes ]; then wget --quiet -O kes https://github.com/minio/kes/releases/latest/download/kes-linux-amd64 && chmod +x kes fi if ! openssl version &>/dev/null; then
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 7.1K bytes - Click Count (1) -
.github/workflows/arm-ci-extended-cpp.yml
permissions: contents: read jobs: build: if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks runs-on: [self-hosted, linux, ARM64] strategy: matrix: pyver: ['3.10'] steps: - name: Stop old running containers (if any) shell: bash run: | running_containers=$(docker ps -q) && \ if [[ $running_containers == "" ]]; thenCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 01 08:09:03 GMT 2026 - 2.5K bytes - Click Count (0) -
src/cmd/asm/internal/arch/mips.go
switch name { case "F": if 0 <= n && n <= 31 { return mips.REG_F0 + n, true } case "FCR": if 0 <= n && n <= 31 { return mips.REG_FCR0 + n, true } case "M": if 0 <= n && n <= 31 { return mips.REG_M0 + n, true } case "R": if 0 <= n && n <= 31 { return mips.REG_R0 + n, true } case "W": if 0 <= n && n <= 31 { return mips.REG_W0 + n, true }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 04 19:06:44 GMT 2020 - 1.7K bytes - Click Count (0)