- Sort Score
- Result 10 results
- Languages All
Results 4411 - 4420 of 6,043 for jstring (0.04 sec)
-
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt
ServersForTest() } as ServersForTest private class ServersForTest { private val servers = mutableMapOf<String, MockWebServer>() private var started = false fun server(name: String): MockWebServer { return servers.getOrPut(name) { MockWebServer().also { if (started) it.start() } } } fun startAll() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 11 12:12:36 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/features/events.md
printEvent("callStart"); } @Override public void callEnd(Call call) { printEvent("callEnd"); } @Override public void dnsStart(Call call, String domainName) { printEvent("dnsStart"); } @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) { printEvent("dnsEnd"); } ... } ``` We make a couple calls: ```java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
doc/go_mem.html
implies observing the write to <code>a</code>. This version can (incorrectly) print an empty string instead of <code>"hello, world"</code>. </p> <p> Another incorrect idiom is busy waiting for a value, as in: </p> <pre> var a string var done bool func setup() { a = "hello, world" done = true } func main() { go setup() for !done {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java
date = FessFunctions.parseDate("D:20040401033456-05'00'", "pdf_date"); assertEquals("2004-04-01T08:34:56.000Z", FessFunctions.formatDate(date)); } public void test_formatCode() { String code; String value; code = ""; value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code); assertEquals("<pre class=\"prettyprint\"></pre>", value); code = "aaa";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (0) -
internal/config/heal/heal.go
} const minimumBitrotCycleInMonths = 1 func parseBitrotConfig(s string) (time.Duration, error) { // Try to parse as a boolean enabled, err := config.ParseBool(s) if err == nil { switch enabled { case true: return 0, nil case false: return -1, nil } } // Try to parse as a number of months if !strings.HasSuffix(s, "m") { return -1, errors.New("unknown format") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/disk/stat_linux.go
} return } func readStat(fileName string) (stats []uint64, err error) { file, err := os.Open(fileName) if err != nil { return nil, err } defer file.Close() s, err := bufio.NewReader(file).ReadString('\n') if err != nil && !errors.Is(err, io.EOF) { return nil, err } statLine := strings.TrimSpace(s) for _, token := range strings.Fields(statLine) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dns.kt
* either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded. */ @Throws(UnknownHostException::class) fun lookup(hostname: String): List<InetAddress> companion object { /** * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SecurityBlob.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
internal/mountinfo/mountinfo_windows.go
// this is a dummy function and returns nil for now. func CheckCrossDevice(paths []string) error { return nil } // mountPointCache contains results of IsLikelyMountPoint var mountPointCache sync.Map // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(path string) bool { path = filepath.Dir(path) if v, ok := mountPointCache.Load(path); ok { return v.(bool) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 2K bytes - Viewed (0) -
cmd/shared-lock.go
minimum: 10 * time.Second, retryInterval: time.Minute, }) type sharedLock struct { lockContext chan LockContext } func (ld sharedLock) backgroundRoutine(ctx context.Context, objAPI ObjectLayer, lockName string) { for { locker := objAPI.NewNSLock(minioMetaBucket, lockName) lkctx, err := locker.GetLock(ctx, sharedLockTimeout) if err != nil { continue } keepLock: for { select {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 13 09:26:38 UTC 2023 - 2.3K bytes - Viewed (0)