Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 167 for Closest (0.18 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockStore.java

    public interface BlockStore {
        /**
         * Opens this store, calling the given action if the store is empty.
         */
        void open(Runnable initAction, Factory factory);
    
        /**
         * Closes this store.
         */
        void close();
    
        /**
         * Discards all blocks from this store.
         */
        void clear();
    
        /**
         * Removes the given block from this store.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpResourceUploaderTest.groovy

    import org.gradle.internal.resource.ExternalResourceName
    import org.gradle.internal.resource.ReadableContent
    
    class HttpResourceUploaderTest extends AbstractHttpClientTest {
    
        def 'uploader closes the request'() {
            given:
            HttpClientHelper client = Mock()
            ReadableContent resource = Mock()
            MockedHttpResponse mockedHttpResponse = mockedHttpResponse()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/loong64/a.out.go

    	ALAST
    
    	// aliases
    	AJMP = obj.AJMP
    	AJAL = obj.ACALL
    	ARET = obj.ARET
    )
    
    func init() {
    	// The asm encoder generally assumes that the lowest 5 bits of the
    	// REG_XX constants match the machine instruction encoding, i.e.
    	// the lowest 5 bits is the register number.
    	// Check this here.
    	if REG_R0%32 != 0 {
    		panic("REG_R0 is not a multiple of 32")
    	}
    	if REG_F0%32 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/IoActionsTest.groovy

            file.text == "bar⌘"
        }
    
        def "closes resource after executing action"() {
            def action = Mock(Action)
            def resource = Mock(Closeable)
    
            when:
            withResource(resource, action)
    
            then:
            1 * action.execute(resource)
    
            then:
            1 * resource.close()
            0 * _._
        }
    
        def "closes resource after action fails"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileLock.java

         */
        boolean getUnlockedCleanly();
    
        /**
         * Returns true if the given file is used by this lock.
         */
        boolean isLockFile(File file);
    
        /**
         * Closes this lock, releasing the lock and any resources associated with it.
         */
        @Override
        void close();
    
        /**
         * Returns some memento of the current state of this target file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/internal/pgo/serialize.go

    //      "call site offset" "call edge weight"
    //      ...
    //      caller_name
    //      callee_name
    //      "call site offset" "call edge weight"
    //
    // Entries are sorted by "call edge weight", from highest to lowest.
    
    const serializationHeader = "GO PREPROFILE V1\n"
    
    // WriteTo writes a serialized representation of Profile to w.
    //
    // FromSerialized can parse the format back to Profile.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/crypto/cipher/io.go

    	c := make([]byte, len(src))
    	w.S.XORKeyStream(c, src)
    	n, err = w.W.Write(c)
    	if n != len(src) && err == nil { // should never happen
    		err = io.ErrShortWrite
    	}
    	return
    }
    
    // Close closes the underlying Writer and returns its Close return value, if the Writer
    // is also an io.Closer. Otherwise it returns nil.
    func (w StreamWriter) Close() error {
    	if c, ok := w.W.(io.Closer); ok {
    		return c.Close()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. internal/http/check_port_others.go

    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/CancellationContinuousIntegrationTest.groovy

            succeeds("build")
    
            when:
            gradle.stdinPipe.close()
    
            then:
            cancelsAndExits()
        }
    
        def "should cancel build when System.in contains some other characters, then closes"() {
            when:
            succeeds("build")
            stdinPipe << 'abc'
    
            then:
            doesntExit()
    
            when:
            gradle.stdinPipe.close()
    
            then:
            cancelsAndExits()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/ConnectionListener.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.IOException
    
    /**
     * Listener for connection events. Extend this class to monitor the new connections and closes.
     *
     * All event methods must execute fast, without external locking, cannot throw exceptions,
     * attempt to mutate the event parameters, or be reentrant back into the client.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top