- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 23 for SetPrefix (0.05 seconds)
-
api/maven-api-metadata/src/main/mdo/metadata.mdo
{ boolean found = false; for ( Plugin preExisting : getPlugins() ) { if ( java.util.Objects.equals( preExisting.getPrefix(), plugin.getPrefix() ) ) { found = true; break; } } if ( !found ) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed May 15 17:32:27 GMT 2024 - 15.8K bytes - Click Count (0) -
misc/ios/go_ios_exec.go
// lock is a file lock to serialize iOS runs. It is global to avoid the // garbage collector finalizing it, closing the file and releasing the // lock prematurely. var lock *os.File func main() { log.SetFlags(0) log.SetPrefix("go_ios_exec: ") if debug { log.Println(strings.Join(os.Args, " ")) } if len(os.Args) < 2 { log.Fatal("usage: go_ios_exec a.out") } // For compatibility with the old builders, use a fallback bundle ID
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Sep 16 00:34:45 GMT 2025 - 8.7K bytes - Click Count (0) -
misc/go_android_exec/main.go
} return exec.Command("adb", args...) } const ( deviceRoot = "/data/local/tmp/go_android_exec" deviceGoroot = deviceRoot + "/goroot" ) func main() { log.SetFlags(0) log.SetPrefix("go_android_exec: ") exitCode, err := runMain() if err != nil { log.Fatal(err) } os.Exit(exitCode) } func runMain() (int, error) { // Concurrent use of adb is flaky, so serialize adb commands.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle.go
} for _, rule := range lc.Rules { if rule.Status == Disabled { continue } if len(prefix) > 0 && len(rule.GetPrefix()) > 0 { // we can skip this rule if it doesn't match the tested // prefix. if !strings.HasPrefix(prefix, rule.GetPrefix()) && !strings.HasPrefix(rule.GetPrefix(), prefix) { continue } } if rule.NoncurrentVersionExpiration.NoncurrentDays > 0 { return true }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 03 06:45:06 GMT 2025 - 18.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/PlatformTest.kt
@Test fun alwaysBuilds() { Platform() } /** Guard against the default value changing by accident. */ @Test fun defaultPrefix() { assertThat(Platform().getPrefix()).isEqualTo("OkHttp") } @Test fun testToStringIsClassname() { assertThat(Platform().toString()).isEqualTo("Platform") } @Test fun testNotAndroid() { platform.assumeNotAndroid()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String field = getSearchField(context.getDefaultField(), prefixQuery.getField()); final String text = prefixQuery.getPrefix().text(); if (Constants.DEFAULT_FIELD.equals(field)) { context.addFieldLog(field, text + "*"); context.addHighlightedQuery(text);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.1K bytes - Click Count (0) -
internal/bucket/lifecycle/rule.go
func (r Rule) validateNoncurrentTransition() error { return r.NoncurrentVersionTransition.Validate() } // GetPrefix - a rule can either have prefix under <rule></rule>, <filter></filter> // or under <filter><and></and></filter>. This method returns the prefix from the // location where it is available. func (r Rule) GetPrefix() string { if p := r.Prefix.String(); p != "" { return p } if p := r.Filter.Prefix.String(); p != "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 25 20:12:21 GMT 2024 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java
query = queryParser.createDefaultFilterChain().parse("fess*"); assertEquals(PrefixQuery.class, query.getClass()); assertEquals("_default:fess", ((PrefixQuery) query).getPrefix().toString()); query = queryParser.createDefaultFilterChain().parse("fe?s"); assertEquals(WildcardQuery.class, query.getClass());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 5.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
* * ### Android Cleartext Permit Detection * * Supported on Android 6.0+ via `NetworkSecurityPolicy`. */ open class Platform { /** Prefix used on custom headers. */ fun getPrefix() = "OkHttp" open fun newSSLContext(): SSLContext = SSLContext.getInstance("TLS") open fun platformTrustManager(): X509TrustManager { val factory = TrustManagerFactory.getInstance(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
/** Synthetic response header: the local time when the request was sent. */ private val SENT_MILLIS = "${Platform.get().getPrefix()}-Sent-Millis" /** Synthetic response header: the local time when the response was received. */ private val RECEIVED_MILLIS = "${Platform.get().getPrefix()}-Received-Millis" } } private class CacheResponseBody( val snapshot: DiskLruCache.Snapshot,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0)