- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of over 10,000 for Switch (0.07 seconds)
-
internal/handlers/forwarder.go
type headerRewriter struct{} // Clean up IP in case if it is ipv6 address and it has {zone} information in it, like // "[fe80::d806:a55d:eb1b:49cc%vEthernet (vmxnet3 Ethernet Adapter - Virtual Switch)]:64692" func ipv6fix(clientIP string) string { return strings.Split(clientIP, "%")[0] } func (rw *headerRewriter) Rewrite(req *http.Request) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.7K bytes - Click Count (0) -
internal/bucket/replication/destination.go
if err := dec.DecodeElement(&dest, &start); err != nil { return err } parsedDest, err := parseDestination(dest.Bucket) if err != nil { return err } if dest.StorageClass != "" { switch dest.StorageClass { case "STANDARD", "REDUCED_REDUNDANCY": default: return fmt.Errorf("unknown storage class %s", dest.StorageClass) } } parsedDest.StorageClass = dest.StorageClass *d = parsedDest
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceException.java
* * @return requested resources or -1 if unknown */ public long getRequestedResources() { return requestedResources; } private String generateRecoveryHint() { switch (resourceType) { case FILE_HANDLE: return "Close unused file handles or increase the file handle limit"; case CONNECTION:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K bytes - Click Count (0) -
cmd/http-stats.go
st.totalS3Requests.Inc(api) // Increment the prometheus http request response histogram with appropriate label httpRequestsDuration.With(prometheus.Labels{"api": api}).Observe(w.TTFB().Seconds()) code := w.StatusCode switch { case code == 0: case code == 499: // 499 is a good error, shall be counted as canceled. st.totalS3Canceled.Inc(api)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 11.4K bytes - Click Count (0) -
schema/schema.go
field.Schema.DeleteClauses = append(field.Schema.DeleteClauses, fc.DeleteClauses(field)...) } } } if field := schema.PrioritizedPrimaryField; field != nil { switch field.GORMDataType { case Int, Uint: if _, ok := field.TagSettings["AUTOINCREMENT"]; !ok { if !field.HasDefaultValue || field.DefaultValueInterface != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
return copyOf(Arrays.asList(elements)); } private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) { Object[] elements = collection.toArray(); switch (elements.length) { case 0: return of(); case 1: @SuppressWarnings("unchecked") // safe because it came from `collection` E element = (E) elements[0]; return of(element);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableEnumSet.java
@GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> { static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) { switch (set.size()) { case 0: return ImmutableSet.of(); case 1: return ImmutableSet.of(getOnlyElement(set)); default: return new ImmutableEnumSet<>(set); } } /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
// ============ private static OptionalEntity<User> getEntity(final CreateForm form) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new User()).map(entity -> { entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 21K bytes - Click Count (0) -
src/test/java/jcifs/smb/RequestParamTest.java
assertNotNull(rp); assertEquals(name, rp.name(), "name() must match input"); assertEquals(name, rp.toString(), "toString() should default to name()"); // Ordinal is consistent with declaration order switch (name) { case "NONE": assertEquals(0, rp.ordinal()); break; case "NO_TIMEOUT": assertEquals(1, rp.ordinal()); break;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
internal/s3select/sql/utils.go
copy(pathExpr[1:], e.PathExpr) } e.strippedTableAlias = tableAlias e.strippedPathExpr = pathExpr return e.strippedPathExpr } func (e *JSONPathElement) String() string { switch { case e.Key != nil: return e.Key.String() case e.Index != nil: return fmt.Sprintf("[%d]", *e.Index) case e.ObjectWildcard: return ".*" case e.ArrayWildcard: return "[*]" } return "" }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Nov 10 16:12:50 GMT 2021 - 3.6K bytes - Click Count (0)