- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 240 for unpacked (0.16 sec)
-
internal/dsync/locker.go
// In that case, the resource may or may not be unlocked. RUnlock(ctx context.Context, args LockArgs) (bool, error) // Do write unlock for given LockArgs. It should return // * a boolean to indicate success/failure of the operation // * an error on failure of unlock request operation. // Canceling the context will abort the remote call. // In that case, the resource may or may not be unlocked.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 18 20:44:38 UTC 2022 - 2.7K bytes - Viewed (0) -
src/sync/mutex_test.go
testenv.MustHaveExec(t) for _, test := range misuseTests { out, err := exec.Command(os.Args[0], "TESTMISUSE", test.name).CombinedOutput() if err == nil || !strings.Contains(string(out), "unlocked") { t.Errorf("%s: did not find failure with message about unlocked lock: %s\n%s\n", test.name, err, out) } } } func TestMutexFairness(t *testing.T) { var mu Mutex stop := make(chan bool) defer close(stop) go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 16 21:25:35 UTC 2022 - 5.9K bytes - Viewed (0) -
pkg/securitycontext/util_test.go
expect []string }{ "procMount nil": { pm: nil, expect: defaultMaskedPaths, }, "procMount default": { pm: &dPM, expect: defaultMaskedPaths, }, "procMount unmasked": { pm: &uPM, expect: []string{}, }, } for k, v := range tests { actual := ConvertToRuntimeMaskedPaths(v.pm) if !reflect.DeepEqual(actual, v.expect) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 05 01:25:23 UTC 2020 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalker.java
handler ); } private void walkNestedChild(Supplier<Object> unpacker, String qualifiedName, PropertyMetadata propertyMetadata, InstanceMetadataVisitor visitor, boolean isElementOfCollection, Consumer<Object> handler) { Object value; try { value = unpacker.get(); } catch (Exception ex) { visitor.visitNestedUnpackingError(qualifiedName, ex);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 14K bytes - Viewed (0) -
internal/dsync/lock-args.go
// LockArgs is minimal required values for any dsync compatible lock operation. type LockArgs struct { // Unique ID of lock/unlock request. UID string // Resources contains single or multiple entries to be locked/unlocked. Resources []string // Source contains the line number, function and file name of the code // on the client node that requested the lock. Source string
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 04:34:26 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/kube/kclient/clienttest/test_helpers.go
// Reads may be cached or uncached, depending on the input client. func WrapReadWriter[T controllers.Object](t test.Failer, c kclient.ReadWriter[T]) TestClient[T] { return TestClient[T]{ c: c, t: t, TestWriter: TestWriter[T]{ c: c, t: t, }, } } // Wrap returns a client that calls t.Fatal on errors. // Reads may be cached or uncached, depending on the input client.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 3.9K bytes - Viewed (0) -
src/sync/rwmutex_test.go
} if m.TryRLock() { t.Fatalf("TryRLock succeeded with mutex locked") } m.Unlock() if !m.TryLock() { t.Fatalf("TryLock failed with mutex unlocked") } m.Unlock() if !m.TryRLock() { t.Fatalf("TryRLock failed with mutex unlocked") } if !m.TryRLock() { t.Fatalf("TryRLock failed with mutex rlocked") } if m.TryLock() { t.Fatalf("TryLock succeeded with mutex rlocked") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 29 17:13:13 UTC 2021 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockState.java
* fails. */ void registerLocked(ResourceLock resourceLock); /** * Registers a resource lock that has been unlocked during the transform so that the coordination service can * notify threads waiting on a lock. */ void registerUnlocked(ResourceLock resourceLock); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 1.3K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
// same inode through two different descriptors at the same time: when the // first descriptor is closed, the second descriptor would still be open but // silently unlocked. So a second RLock must block instead of proceeding. lockF2 := mustBlock(t, "RLock", f2) unlock(t, f) lockF2(t) default: rLock(t, f2) doUnlockTF = true } other := mustOpen(t, f.Name())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 4K bytes - Viewed (0) -
src/sync/rwmutex.go
// A RWMutex is a reader/writer mutual exclusion lock. // The lock can be held by an arbitrary number of readers or a single writer. // The zero value for a RWMutex is an unlocked mutex. // // A RWMutex must not be copied after first use. // // If any goroutine calls [RWMutex.Lock] while the lock is already held by // one or more readers, concurrent calls to [RWMutex.RLock] will block until
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 7.2K bytes - Viewed (0)