Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 114 for Closest (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistryTest.groovy

            def homeDirService = services.get(SomeHomeDirService)
            homeDirServices.release(services)
    
            expect:
            !homeDirService.closed
        }
    
        def "closes and recreates services when home dir is different to last use"() {
            def dir1 = new File("home-dir-1")
            def dir2 = new File("home-dir-2")
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java

     *     It may no longer send any messages.</li>
     * <li>The client closes the connection.</li>
     * <li>The daemon closes the connection once it has received the {@link org.gradle.launcher.daemon.protocol.Finished} message.</li>
     * </ul>
     */
    public class DaemonStopClient {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java

         */
        abstract long getElapsedTime();
    
        abstract String getDescription();
    
        /**
         * @return comparator that compares operations, slowest first, then alphabetically
         */
        public static Comparator<? super Operation> slowestFirst() {
            return new Comparator<Operation>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. internal/config/scanner/help.go

    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help provides help for config values
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Speed,
    			Description: `customize scanner speed (default|slowest|slow|fast|fastest)` + defaultHelpPostfix(Speed),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ExcessVersions,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 12 07:41:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/LineBufferingOutputStream.java

            lastLineSeparatorByte = lineSeparatorBytes[lineSeparatorBytes.length - 1];
        }
    
        /**
         * Closes this output stream and releases any system resources associated with this stream. The general contract of
         * <code>close</code> is that it closes the output stream. A closed stream cannot perform output operations and
         * cannot be reopened.
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/net/smtp/auth.go

    	// and optionally data to include in the initial AUTH message
    	// sent to the server.
    	// If it returns a non-nil error, the SMTP client aborts
    	// the authentication attempt and closes the connection.
    	Start(server *ServerInfo) (proto string, toServer []byte, err error)
    
    	// Next continues the authentication. The server has just sent
    	// the fromServer data. If more is true, the server expects a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top