- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 172 for scond (0.04 sec)
-
src/cmd/asm/internal/arch/arm.go
cond = strings.TrimPrefix(cond, ".") if cond == "" { return arm.C_SCOND_NONE, true } names := strings.Split(cond, ".") bits := uint8(0) for _, name := range names { if b, present := ls[name]; present { bits |= b continue } if b, present := scond[name]; present { bits = (bits &^ arm.C_SCOND) | b continue } return 0, false }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 23 15:18:14 UTC 2024 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Pair.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
tests/test_forms_from_non_typing_sequences.py
response = client.post( "/form/python-list", data={"items": ["first", "second", "third"]} ) assert response.status_code == 200, response.text assert response.json() == ["first", "second", "third"] def test_python_set_param_as_form(): response = client.post( "/form/python-set", data={"items": ["first", "second", "third"]} ) assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 1.2K bytes - Viewed (0) -
cmd/dynamic-timeouts_test.go
func TestDynamicTimeoutDualDecrease(t *testing.T) { timeout := newDynamicTimeout(time.Minute, time.Second) initial := timeout.Timeout() for i := 0; i < dynamicTimeoutLogSize; i++ { timeout.LogSuccess(20 * time.Second) } adjusted := timeout.Timeout() for i := 0; i < dynamicTimeoutLogSize; i++ { timeout.LogSuccess(20 * time.Second) } adjustedAgain := timeout.Timeout()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 14 10:08:40 UTC 2022 - 5.4K bytes - Viewed (0) -
cmd/update-notifier_test.go
{0, "another_update_url", ""}, {time.Hour, "", ""}, {0 * time.Second, "my_download_url", "now"}, {1 * time.Second, "my_download_url", "1 second before the latest release"}, {37 * time.Second, "my_download_url", "37 seconds before the latest release"}, {60 * time.Second, "my_download_url", "1 minute before the latest release"}, {61 * time.Second, "my_download_url", "1 minute before the latest release"}, // Testcase index 10
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 15:36:19 UTC 2023 - 4.1K bytes - Viewed (0) -
internal/lsync/lrwmutex_test.go
lrwm := NewLRWMutex() if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") } // fmt.Println("1st read lock acquired, waiting...") if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") } // fmt.Println("2nd read lock acquired, waiting...") go func() { time.Sleep(2 * time.Second) lrwm.RUnlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 7.9K bytes - Viewed (0) -
internal/config/drive/drive.go
if dur < time.Second { cfg.MaxTimeout = 30 * time.Second } else { cfg.MaxTimeout = getMaxTimeout(dur) } } return cfg, err } func getMaxTimeout(t time.Duration) time.Duration { if t > time.Second { return t } // get default value d := env.Get(EnvMaxDriveTimeoutLegacy, env.Get(EnvMaxDiskTimeoutLegacy, "")) if d == "" { return 30 * time.Second } dur, _ := time.ParseDuration(d)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/Gradleception.kt
import model.CIBuildModel import model.Stage /** * Build a Gradle distribution (dogfood-first) and use this distribution to build a distribution again (dogfood-second). * Use `dogfood-second` to run `test sanityCheck`. */ class Gradleception( model: CIBuildModel, stage: Stage, buildJvm: Jvm, jvmDescription: String, bundleGroovy4: Boolean = false,
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 08 12:58:46 UTC 2024 - 6.5K bytes - Viewed (0) -
internal/cachevalue/cache_test.go
"testing" "time" ) func slowCaller(ctx context.Context) error { sl := time.NewTimer(time.Second) defer sl.Stop() select { case <-sl.C: case <-ctx.Done(): return ctx.Err() } return nil } func TestCacheCtx(t *testing.T) { cache := New[time.Time]() t.Parallel() cache.InitOnce(2*time.Second, Opts{}, func(ctx context.Context) (time.Time, error) { return time.Now(), slowCaller(ctx) },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 2.7K bytes - Viewed (0)