- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 459 for gooses (0.23 sec)
-
platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/service/LoadTargetTest.groovy
@Override void close() throws IOException { closed = true } } def "closes input"() { given: def input = new TestInputStream() when: target.readFrom(input) then: input.closed } def "closes input on subsequent use"() { given: def input = new TestInputStream() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/IoActions.java
return new TextFileWriterIoAction(output, encoding); } /** * Performs the given action against the given resource, then closes the resource. Ignores failure to close the resource when * the action throws an exception. */ public static <T extends Closeable> void withResource(T resource, Action<? super T> action) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closeables.java
@GwtIncompatible @ElementTypesAreNonnullByDefault public final class Closeables { @VisibleForTesting static final Logger logger = Logger.getLogger(Closeables.class.getName()); private Closeables() {} /** * Closes a {@link Closeable}, with control over whether an {@code IOException} may be thrown. * This is primarily useful in a finally block, where a thrown exception needs to be logged but
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy
def cachePolicy = new DefaultCachePolicy() def chooser = new DefaultVersionedComponentChooser(versionComparator, versionParser, componentSelectionRules, attributesSchema) def "chooses latest version for component meta data"() { def one = Stub(ModuleComponentGraphResolveMetadata) { getModuleVersionId() >> DefaultModuleVersionIdentifier.newId("group", "name", "1.0") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 17:38:42 UTC 2024 - 17.1K bytes - Viewed (0) -
src/os/file_mutex_plan9.go
func (file *file) readLock() error { if !file.fdmu.ReadLock() { return ErrClosed } return nil } // readUnlock removes a reference from the file and unlocks it for reading. // It also closes the file if it marked as closed and there is no remaining // reference. func (file *file) readUnlock() { if file.fdmu.ReadUnlock() { file.destroy() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 1.8K bytes - Viewed (0) -
src/io/pipe.go
func (r *PipeReader) Read(data []byte) (n int, err error) { return r.pipe.read(data) } // Close closes the reader; subsequent writes to the // write half of the pipe will return the error [ErrClosedPipe]. func (r *PipeReader) Close() error { return r.CloseWithError(nil) } // CloseWithError closes the reader; subsequent writes // to the write half of the pipe will return the error err. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:34:35 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/service/StoreTargetTest.groovy
throw new IOException("bang!") } } @Override void close() throws IOException { closed = true } } def "closes output"() { given: def output = new TestOutputStream() when: target.writeTo(output) then: output.closed } def "can write multiple times"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluatorTest.kt
) ) ) } @Test fun `Project target - script-plugin - empty`() { assertThat( "reduces to static program that closes target scope then applies base plugins", partialEvaluationOf( Program.Empty, ProgramKind.ScriptPlugin, ProgramTarget.Project ),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 38.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 8K bytes - Viewed (0) -
guava/src/com/google/common/io/Closeables.java
@GwtIncompatible @ElementTypesAreNonnullByDefault public final class Closeables { @VisibleForTesting static final Logger logger = Logger.getLogger(Closeables.class.getName()); private Closeables() {} /** * Closes a {@link Closeable}, with control over whether an {@code IOException} may be thrown. * This is primarily useful in a finally block, where a thrown exception needs to be logged but
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 4.7K bytes - Viewed (0)