- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 167 for Closest (0.43 sec)
-
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) -
src/cmd/compile/internal/ssa/lca.go
package ssa import ( "math/bits" ) // Code to compute lowest common ancestors in the dominator tree. // https://en.wikipedia.org/wiki/Lowest_common_ancestor // https://en.wikipedia.org/wiki/Range_minimum_query#Solution_using_constant_time_and_linearithmic_space // lcaRange is a data structure that can compute lowest common ancestor queries // in O(n lg n) precomputed space and O(1) time per query.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 21:52:15 UTC 2023 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_min_max.cc
// global_max will be updated by std::max(global_max, input_value) so it // is initialized with the value numeric_limits<float>::lowest(). min_max_statistics_.set_global_max(std::numeric_limits<float>::lowest()); } void CalibrationStatisticsCollectorMinMax::Collect( const float min, const float max, absl::Span<const int64_t> histogram) { min_max_statistics_.set_global_min(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 05 03:57:26 UTC 2024 - 2.2K 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/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) -
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) -
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) -
src/runtime/libfuzzer_amd64.s
// ValueProfileMap.AddValue() truncates its argument to 16 bits and shifts the // PC to the left by log_2(128)=7, which means that only the lowest 16 - 7 bits // of the return address matter. String compare hooks use the lowest 12 bits, // but take the return address as an argument and thus don't require the // indirection through a trampoline.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 04:57:07 UTC 2023 - 5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_timeout_stdin.txt
# After the test process itself prints PASS and exits, # the kernel closes its stdin pipe to to the orphaned subprocess. # At that point, we expect the subprocess to print 'stdin closed' # and periodically log to stderr until the WaitDelay expires. # # Once the WaitDelay expires, the copying goroutine for 'go test' stops and # closes the read side of the stderr pipe, and the subprocess will eventually
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 20:23:27 UTC 2023 - 2.2K bytes - Viewed (0)