- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 170 for accBits (0.06 seconds)
-
cmd/metrics-router.go
metricsRouter.Handle(prometheusMetricsV2ResourcePath, auth(metricsResourceHandler())) // Metrics v3 metricsV3Server := newMetricsV3Server(auth) // Register metrics v3 handler. It also accepts an optional query // parameter `?list` - see handler for details. metricsRouter.Methods(http.MethodGet).Path(metricsV3Path + "{pathComps:.*}").Handler(metricsV3Server)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jul 15 16:28:02 GMT 2024 - 2.6K bytes - Click Count (0) -
internal/config/bool-flag.go
} // FormatBool prints stringified version of boolean. func FormatBool(b bool) string { if b { return "on" } return "off" } // ParseBool returns the boolean value represented by the string. // It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False. // Any other value returns an error. func ParseBool(str string) (bool, error) { switch str { case "1", "t", "T", "true", "TRUE", "True", "on", "ON", "On":
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 07 15:10:40 GMT 2022 - 2.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java
import java.util.Collection; import java.util.LinkedHashSet; import java.util.Set; import org.apache.maven.artifact.Artifact; /** * Apply multiple filters, accepting an artifact if at least one of the filters accepts it. * */ @Deprecated public class OrArtifactFilter implements ArtifactFilter { private Set<ArtifactFilter> filters; public OrArtifactFilter() { this.filters = new LinkedHashSet<>();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
assertEquals("file3.txt", third.getName()); assertFalse(iterator.hasNext(), "Should not have more elements"); } /** * Test iterator with filter that accepts all elements. */ @Test void testIteratorWithAcceptAllFilter() throws CIFSException { // Given when(mockDelegate.hasNext()).thenReturn(true, true, false);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
internal/once/init.go
if err := f(); err != nil { return err } // Mark as done only when f() is successful atomic.StoreUint32(&l.done, 1) } return nil } // DoWithContext is similar to Do except that it accepts a context as an argument to be passed. func (l *Init) DoWithContext(ctx context.Context, f func(context.Context) error) error { if atomic.LoadUint32(&l.done) == 0 { return l.doWithContext(ctx, f) } return nil }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 09 04:20:31 GMT 2023 - 2.1K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-python-types.md
```Python say_hi() # Oh, no, this throws an error! 😱 ``` The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value: ```Python say_hi(name=None) # This works, None is valid 🎉 ``` The good news is, in most cases, you will be able to simply use `|` to define unions of types: ```python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* * <p><b>Java 21+ users:</b> use {@link Thread.Builder#name(String, long)} instead. Note that * {@link #setNameFormat} accepts a thread name <i>format string</i> (e.g., {@code * threadFactoryBuilder.setNameFormat("rpc-pool-%d")}), while {@code threadBuilder.name()} accepts * a thread name <i>prefix</i> and initial counter value (e.g., {@code * threadBuilder.name("rpc-pool-", 0)}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java
// Test setting different max group depths authenticator.setMaxGroupDepth(5); authenticator.setMaxGroupDepth(20); authenticator.setMaxGroupDepth(1); // Verify method accepts valid values without exception assertTrue(true); } @Test public void test_setGroupCacheExpiry() { EntraIdAuthenticator authenticator = new EntraIdAuthenticator();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 19.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt
* [match][Cookie.matches] [url]. */ fun loadForRequest(url: HttpUrl): List<Cookie> companion object { /** A cookie jar that never accepts any cookies. */ @JvmField val NO_COOKIES: CookieJar = NoCookies() private class NoCookies : CookieJar { override fun saveFromResponse( url: HttpUrl, cookies: List<Cookie>,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
* Mockito to guarantee that implementation classes do not inadvertently * bypass the filter logic. */ public class SmbFileFilterTest { /** * A minimal implementation that accepts every {@link SmbFile}. */ private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0)