- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 2,185 for casse (0.04 seconds)
-
cmd/dummy-data-generator_test.go
} func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) { switch whence { case io.SeekStart: if offset < 0 { return 0, errors.New("Invalid offset") } d.idx = offset case io.SeekCurrent: if d.idx+offset < 0 { return 0, errors.New("Invalid offset") } d.idx += offset case io.SeekEnd: if d.length+offset < 0 { return 0, errors.New("Invalid offset") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
cmd/object-api-utils_test.go
isValidBucketName := IsValidBucketName(testCase.bucketName) if testCase.shouldPass && !isValidBucketName { t.Errorf("Test case %d: Expected \"%s\" to be a valid bucket name", i+1, testCase.bucketName) } if !testCase.shouldPass && isValidBucketName { t.Errorf("Test case %d: Expected bucket name \"%s\" to be invalid", i+1, testCase.bucketName) } } } // Tests for validate object name.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
cmd/metrics-v3-types.go
func (mt MetricType) String() string { switch mt { case CounterMT: return "counter" case GaugeMT: return "gauge" case HistogramMT: return "histogram" default: return "*unknown*" } } func (mt MetricType) toProm() prometheus.ValueType { switch mt { case CounterMT: return prometheus.CounterValue case GaugeMT: return prometheus.GaugeValue case HistogramMT: return prometheus.CounterValue
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
docs/pt/docs/advanced/custom-response.md
Nesse caso, você pode retornar o caminho do arquivo diretamente da sua *função de operação de rota*. ## Classe de resposta personalizada { #custom-response-class } Você pode criar sua própria classe de resposta, herdando de `Response` e usando essa nova classe.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
new AbstractFuture<Object>() { @Override public String pendingToString() { return "cause=[Because this test isn't done]"; } }; assertThat(testFuture.toString()) .matches( "[^\\[]+\\[status=PENDING, info=\\[cause=\\[Because this test isn't done\\]\\]\\]"); TimeoutException e = assertThrows(TimeoutException.class, () -> testFuture.get(1, NANOSECONDS));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
return delegate().descendingMap(); } /** * A sensible implementation of {@link NavigableMap#descendingMap} in terms of the methods of this * {@code NavigableMap}. In many cases, you may wish to override {@link * ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof. * * <p>In particular, this map iterates over entries with repeated calls to {@link
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
return delegate().descendingMap(); } /** * A sensible implementation of {@link NavigableMap#descendingMap} in terms of the methods of this * {@code NavigableMap}. In many cases, you may wish to override {@link * ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof. * * <p>In particular, this map iterates over entries with repeated calls to {@link
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.3K bytes - Click Count (0) -
cmd/site-replication.go
) var ( errSRCannotJoin = SRError{ Cause: errors.New("this site is already configured for site-replication"), Code: ErrSiteReplicationInvalidRequest, } errSRDuplicateSites = SRError{ Cause: errors.New("duplicate sites provided for site-replication"), Code: ErrSiteReplicationInvalidRequest, } errSRSelfNotFound = SRError{ Cause: errors.New("none of the given sites correspond to the current one"),Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
} /** * This test is for a case where two Service.Listener callbacks for the same service would call * transitionService in the wrong order due to a race. Due to the fact that it is a race this test * isn't guaranteed to expose the issue, but it is at least likely to become flaky if the race * sneaks back in, and in this case flaky means something is definitely wrong. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 25.5K bytes - Click Count (0) -
docs/en/docs/advanced/behind-a-proxy.md
In these cases you can use `root_path` to configure your application. The `root_path` is a mechanism provided by the ASGI specification (that FastAPI is built on, through Starlette). The `root_path` is used to handle these specific cases. And it's also used internally when mounting sub-applications.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.4K bytes - Click Count (0)