- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of over 10,000 for Switch (0.05 seconds)
-
cmd/api-errors.go
} if apiErr != ErrNone { // If there was a match in the above switch case. return apiErr } // etcd specific errors, a key is always a bucket for us return // ErrNoSuchBucket in such a case. if errors.Is(err, dns.ErrNoEntriesFound) { return ErrNoSuchBucket } switch err.(type) { case StorageFull: apiErr = ErrStorageFull case hash.BadDigest:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 93K bytes - Click Count (3) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
// With threshold 1, writing 1 byte should stay in memory ContentOutputStream cos = new ContentOutputStream(1, Curl.tmpDir); cos.write(new byte[] { 1 }); assertTrue(cos.isInMemory()); assertFalse(cos.done); cos.close(); } @Test public void testThresholdOneExceeded() throws IOException { // With threshold 1, writing 2 bytes should go to fileCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
// ============ private static OptionalEntity<PathMapping> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new PathMapping()).map(entity -> { entity.setCreatedBy(username); entity.setCreatedTime(currentTime);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.4K bytes - Click Count (0) -
cmd/global-heal.go
return false } versioned := vc != nil && vc.Versioned(object) objInfo := fi.ToObjectInfo(bucket, object, versioned) evt := evalActionFromLifecycle(ctx, *lc, lr, rcfg, objInfo) switch { case evt.Action.DeleteRestored(): // if restored copy has expired,delete it synchronously applyExpiryOnTransitionedObject(ctx, newObjectLayerFn(), objInfo, evt, lcEventSrc_Heal) return false
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 04 13:49:12 GMT 2025 - 16.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
* or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
cmd/update_test.go
} for _, testCase := range testCases { u, err := url.Parse(testCase.releaseChecksumURL) if err != nil { t.Fatal(err) } result, err := downloadReleaseURL(u, 1*time.Second, "") switch { case testCase.expectedErr == nil: if err != nil { t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err) } case err == nil:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 10.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Range.java
return create(Cut.belowAll(), Cut.aboveValue(endpoint)); } /** * Returns a range with no lower bound up to the given endpoint, which may be either inclusive * (closed) or exclusive (open). * * @since 14.0 */ public static <C extends Comparable<?>> Range<C> upTo(C endpoint, BoundType boundType) { switch (boundType) { case OPEN: return lessThan(endpoint); case CLOSED:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
* </ul> * * @param type * the type to analyze * @return the raw class of the specified type */ public static Class<?> getRawClass(final Type type) { return switch (type) { case Class<?> clazz -> clazz; case ParameterizedType paramType -> getRawClass(paramType.getRawType()); case WildcardType wildcard -> getRawClass(wildcard.getUpperBounds()[0]);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.4K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arch.go
return 0, false } // Set configures the architecture specified by GOARCH and returns its representation. // It returns nil if GOARCH is not recognized. func Set(GOARCH string, shared bool) *Arch { switch GOARCH { case "386": return archX86(&x86.Link386) case "amd64": return archX86(&x86.Linkamd64) case "arm": return archArm() case "arm64": return archArm64() case "loong64":
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 22K bytes - Click Count (0)