Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 373 for closeFn (0.13 sec)

  1. platforms/core-runtime/service-provider/src/main/java/org/gradle/internal/service/scopes/GradleModuleServices.java

        /**
         * Called once per process, to register any globally scoped services. These services are reused across builds in the same process.
         * The services are closed when the process finishes.
         *
         * <p>Global services are visible to all other services.</p>
         *
         * @see Scope.Global
         */
        void registerGlobalServices(ServiceRegistration registration);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    				cleanUpFns: cFns,
    			}
    			return r, nil
    		}
    	}
    	return fn, off, length, nil
    }
    
    // Close - calls the cleanup actions in reverse order
    func (g *GetObjectReader) Close() error {
    	if g == nil {
    		return nil
    	}
    	// sync.Once is used here to ensure that Close() is
    	// idempotent.
    	g.once.Do(func() {
    		for i := len(g.cleanUpFns) - 1; i >= 0; i-- {
    			g.cleanUpFns[i]()
    		}
    	})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

    import java.util.regex.Pattern
    
    @TargetGradleVersion(">=5.6")
    class ClosedProjectSubstitutionCrossVersionSpec extends ToolingApiSpecification {
    
        def "will substitute and run build dependencies for closed projects on startup"() {
            setup:
            multiProjectBuildInRootFolder("parent", ["child1", "child2"]) {
                buildFile << """
                subprojects {
                    apply plugin: 'java-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/crypto/tls/tls_test.go

    func TestDialer(t *testing.T) {
    	ln := newLocalListener(t)
    	defer ln.Close()
    
    	unblockServer := make(chan struct{}) // close-only
    	defer close(unblockServer)
    	go func() {
    		conn, err := ln.Accept()
    		if err != nil {
    			return
    		}
    		defer conn.Close()
    		<-unblockServer
    	}()
    
    	ctx, cancel := context.WithCancel(context.Background())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            'close match and multiple attributes'                       | [platform: JavaVersion.JAVA8, flavor: 'free'] | [platform: JavaVersion.JAVA6, flavor: 'free'] | [platform: JavaVersion.JAVA7, flavor: 'free'] | 'bar'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/ZipEntry.java

        /**
         * Declare an action to be run against this ZipEntry's content as a {@link InputStream}.
         * The {@link InputStream} passed to the {@link IoFunction#apply(Object)} will
         * be closed right after the action's return.
         *
         * This method or {@link #getContent()} may or may not support being called more than once per entry.
         * Use {@link #canReopen()} to determine if more than one call is supported.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/os/exec/exec.go

    	c.goroutine = append(c.goroutine, func() error {
    		_, err := io.Copy(w, pr)
    		pr.Close() // in case io.Copy stopped due to write error
    		return err
    	})
    	return pw, nil
    }
    
    func closeDescriptors(closers []io.Closer) {
    	for _, fd := range closers {
    		fd.Close()
    	}
    }
    
    // Run starts the specified command and waits for it to complete.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  8. platforms/software/version-control/src/test/groovy/org/gradle/vcs/git/internal/GitVersionControlSystemSpec.groovy

        GitFileRepository submoduleRepo2 = new GitFileRepository("submodule2", tmpDir.testDirectory)
    
        // Directory clean up needs to happen after all of the repos have closed
        @Rule
        RuleChain rules = RuleChain.outerRule(tmpDir).around(repo).around(repo2).around(submoduleRepo).around(submoduleRepo2)
    
        def setup() {
            gitVcs = new GitVersionControlSystem()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 13:11:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    	// If addr is not zero, Symbols restricts the list to symbols
    	// containing that address.
    	Symbols(r *regexp.Regexp, addr uint64) ([]*Sym, error)
    
    	// Close closes the file, releasing associated resources.
    	Close() error
    }
    
    // A Frame describes a single line in a source file.
    type Frame struct {
    	Func   string // name of function
    	File   string // source file name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. pkg/webhooks/validation/controller/controller.go

    	if !c.dryRunOfInvalidConfigRejected {
    		if rejected, reason := c.isDryRunOfInvalidConfigRejected(); !rejected {
    			scope.Infof("Not ready to switch validation to fail-closed: %v", reason)
    			return false
    		}
    		scope.Info("Endpoint successfully rejected invalid config. Switching to fail-close.")
    		c.dryRunOfInvalidConfigRejected = true
    		// Sync all webhooks; this ensures if we have multiple webhooks all of them are updated
    		c.syncAll()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top