- Sort Score
- Result 10 results
- Languages All
Results 1981 - 1990 of 2,145 for else_ (0.02 sec)
-
src/archive/zip/reader_test.go
rat, size := zt.Source() z, err = NewReader(rat, size) raw = make([]byte, size) if _, err := rat.ReadAt(raw, 0); err != nil { t.Errorf("ReadAt error=%v", err) return } } else { path := filepath.Join("testdata", zt.Name) if zt.Obscured { tf, err := obscuretestdata.DecodeToTempFile(path) if err != nil { t.Errorf("obscuretestdata.DecodeToTempFile(%s): %v", path, err) return
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertBitEquals(VALUES[i], aa.get(i)); aa.lazySet(i, -3.0); assertBitEquals(-3.0, aa.get(i)); } } /** compareAndSet succeeds in changing value if equal to expected else fails */ public void testCompareAndSet() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { double prev = 0.0; double unused = Math.E + Math.PI;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 14.6K bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
whConfig.FailurePolicy = map[string]*admitv1.FailurePolicyType{} } for _, wh := range vwh.Webhooks { if wh.FailurePolicy != nil && *wh.FailurePolicy == admitv1.Fail { whConfig.FailurePolicy[wh.Name] = nil } else { whConfig.FailurePolicy[wh.Name] = wh.FailurePolicy } } return whConfig, nil } // Create applies the given tag manifests. func Create(client kube.CLIClient, manifests, ns string) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
@Nullable Object[] localAlternatingKeysAndValues; int localSize = size; if (valueComparator == null) { localAlternatingKeysAndValues = alternatingKeysAndValues; } else { if (entriesUsed) { alternatingKeysAndValues = Arrays.copyOf(alternatingKeysAndValues, 2 * size); } localAlternatingKeysAndValues = alternatingKeysAndValues;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
api/maven-api-settings/src/main/mdo/settings.mdo
} else if (!(USER_LEVEL.equals(sourceLevel) || PROJECT_LEVEL.equals(sourceLevel) || GLOBAL_LEVEL.equals(sourceLevel))) { throw new IllegalArgumentException("sourceLevel must be one of: {" + USER_LEVEL + "," + PROJECT_LEVEL + "," + GLOBAL_LEVEL + "}"); } else { this.sourceLevel = sourceLevel; this.sourceLevelSet = true;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 08 13:46:42 UTC 2024 - 33.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
// buildOrThrow() to fail, or by changing the size. @Nullable Entry<K, V>[] localEntries; int localSize = size; if (valueComparator == null) { localEntries = entries; } else { if (entriesUsed) { entries = Arrays.copyOf(entries, size); } @SuppressWarnings("nullness") // entries 0..localSize-1 are non-null
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
src/bytes/bytes_test.go
if f != nil { actual = f(tc.in, tc.arg) } else { actual = fb(tc.in, []byte(tc.arg)) } report := func(s []byte) string { if s == nil { return "nil" } else { return fmt.Sprintf("%q", s) } } if len(actual) != 0 { t.Errorf("%s(%s, %q) returned non-empty value", name, report(tc.in), tc.arg) } else { actualNil := actual == nil outNil := tc.out == nil
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
cmd/iam-object-store.go
func (iamOS *IAMObjectStore) loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error { var basePath string if isGroup { basePath = iamConfigPolicyDBGroupsPrefix } else { switch userType { case svcUser: basePath = iamConfigPolicyDBServiceAccountsPrefix case stsUser: basePath = iamConfigPolicyDBSTSUsersPrefix default: basePath = iamConfigPolicyDBUsersPrefix
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 26.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
return ImmutableSet.copyOf(elements); } } public static class DegeneratedImmutableSetGenerator extends TestStringSetGenerator { // Make sure we get what we think we're getting, or else this test // is pointless @SuppressWarnings("cast") @Override protected Set<String> create(String[] elements) { return (ImmutableSet<String>) ImmutableSet.of(elements[0], elements[0]); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
this.topLevelProject = projects.stream() .filter(project -> project.isExecutionRoot()) .findFirst() .orElse(first); } else { this.currentProject = new ThreadLocal<>(); this.topLevelProject = null; } this.projects = projects; } public ArtifactRepository getLocalRepository() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0)