- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 180 for tryFind (0.05 seconds)
-
internal/dsync/drwmutex_test.go
}() go func() { time.Sleep(3 * testDrwMutexAcquireTimeout) drwm2.RUnlock(t.Context()) // fmt.Println("2nd read lock released, waiting...") }() drwm3 := NewDRWMutex(ds, "simplelock") // fmt.Println("Trying to acquire write lock, waiting...") ctx3, cancel3 := context.WithCancel(t.Context()) locked = drwm3.GetLock(ctx3, cancel3, id, source, Options{Timeout: duration}) if locked { // fmt.Println("Write lock acquired, waiting...")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionResolutionException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.cling.extensions; import org.apache.maven.api.cli.extensions.CoreExtension; /** * Exception occurring trying to resolve a plugin. * */ public class ExtensionResolutionException extends Exception { private final CoreExtension extension;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 1.4K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/10_contributor_bug_report.yml
validations: required: true - type: textarea id: context attributes: label: Context (optional) description: | How has this issue affected you? What are you trying to accomplish? Providing context helps us come up with a solution that is most useful in the real world validations: required: false - type: textarea id: steps-to-reproduce attributes:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Sep 09 14:48:49 GMT 2024 - 3K bytes - Click Count (1) -
src/archive/tar/fuzz_test.go
if _, err := io.Copy(buf, r); err != nil { continue } files = append(files, file{header: hdr, content: buf.Bytes()}) } // If we were unable to read anything out of the archive don't // bother trying to roundtrip it. if len(files) == 0 { return } out := bytes.NewBuffer(nil) w := NewWriter(out) for _, f := range files { if err := w.WriteHeader(f.header); err != nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 2.2K bytes - Click Count (0) -
internal/lsync/lrwmutex.go
success := lm.unlock(isWriteLock) if !success { panic("Trying to Unlock() while no Lock() is active") } } // RUnlock releases a read lock held on lm. // // It is a run-time error if lm is not locked on entry to RUnlock. func (lm *LRWMutex) RUnlock() { isWriteLock := false success := lm.unlock(isWriteLock) if !success { panic("Trying to RUnlock() while no RLock() is active") } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportPlugin.java
params -> { params.setExclusionsFile(new File(project.getRootDir(), DOCKER_ON_LINUX_EXCLUSIONS_FILE)); } ) ); // Ensure that if we are trying to run any DockerBuildTask tasks, we assert an available Docker installation exists project.getGradle().getTaskGraph().whenReady(graph -> { List<String> dockerTasks = graph.getAllTasks() .stream()Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.2K bytes - Click Count (0) -
cmd/prepare-storage.go
// is invalid. This function returns success for the // most part unless one of the formats is not consistent // with expected Erasure format. For example if a user is // trying to pool FS backend into an Erasure set. if err = checkFormatErasureValues(formatConfigs, storageDisks, setDriveCount); err != nil { return nil, err } // All disks report unformatted we should initialized everyone.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 11.1K bytes - Click Count (1) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java
* under the License. */ package org.apache.maven.cli.internal; import org.apache.maven.cli.internal.extension.model.CoreExtension; /** * Exception occurring trying to resolve a plugin. * */ @Deprecated public class ExtensionResolutionException extends Exception { private final CoreExtension extension;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
* (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as * {@code requireNonNull}: Our use case is the one in which {@code T} has parametric nullness—andCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullnessCasts.java
* (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as * {@code requireNonNull}: Our use case is the one in which {@code T} has parametric nullness—andCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0)