Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 459 for gooses (0.15 sec)

  1. src/cmd/internal/bio/must.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bio
    
    import (
    	"io"
    	"log"
    )
    
    // MustClose closes Closer c and calls log.Fatal if it returns a non-nil error.
    func MustClose(c io.Closer) {
    	if err := c.Close(); err != nil {
    		log.Fatal(err)
    	}
    }
    
    // MustWriter returns a Writer that wraps the provided Writer,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 14 17:58:33 UTC 2016
    - 883 bytes
    - Viewed (0)
  2. src/internal/poll/fd_mutex.go

    // It returns an error when fd cannot be used.
    func (fd *FD) incref() error {
    	if !fd.fdmu.incref() {
    		return errClosing(fd.isFile)
    	}
    	return nil
    }
    
    // decref removes a reference from fd.
    // It also closes fd when the state of fd is set to closed and there
    // is no remaining reference.
    func (fd *FD) decref() error {
    	if fd.fdmu.decref() {
    		return fd.destroy()
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 20 16:55:30 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/AbstractCrossProcessCacheAccess.java

        /**
         * Opens this cache access instance when the cache is opened. State lock is held while this method is called.
         */
        public abstract void open();
    
        /**
         * Closes this cache access instance when the cache is opened. State lock is held while this method is called.
         */
        @Override
        public abstract void close();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheCreationCoordinator.java

    import org.gradle.cache.IndexedCacheParameters;
    
    import java.io.Closeable;
    
    public interface CacheCreationCoordinator extends Closeable, HasCleanupAction {
        void open();
    
        /**
         * Closes the cache, blocking until all operations have completed.
         */
        @Override
        void close();
    
        <K, V> IndexedCache<K, V> newCache(IndexedCacheParameters<K, V> parameters);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. docs/distributed/DESIGN.md

    - *If total drives has many common divisors the algorithm chooses the minimum amounts of erasure sets possible for a erasure set size of any N*.  In the example with 1024 drives - 4, 8, 16 are GCD factors. With 16 drives we get a total of 64 possible sets, with 8 drives we get a total of 128 possible sets, with 4 drives we get a total of 256 possible sets. So algorithm automatically chooses 64 sets, which is *16* 64 = 1024* drives in total.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelViewClosedException.java

     * <p>
     * This can potentially happen when a reference to the subject is retained during a rule and then used afterwards,
     * Such as when an anonymous inner class or closure “closes over” the subject.
     */
    @Incubating
    public class ModelViewClosedException extends ReadOnlyModelViewException {
        public ModelViewClosedException(ModelPath path, ModelType<?> type, ModelRuleDescriptor ruleDescriptor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top