Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 108 for choosing (0.54 sec)

  1. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/messaging/WorkerConfigSerializer.java

            } finally {
                if (in != null) {
                    try {
                        in.close();
                    } catch (IOException e) {
                        LOGGER.debug("Error closing ObjectInputStream", e);
                    }
                }
            }
        }
    
        private static byte[] serializeWorker(Action<? super WorkerProcessContext> action) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

                    println "task container node state after graph closing: ${registry.state(tasksPath)}"
                }
            '''
    
            then:
            succeeds "t1"
    
            and:
            output.contains "task container node state when task graph ready: ${ModelNode.State.SelfClosed}"
            output.contains "task container node state after graph closing: ${ModelNode.State.GraphClosed}"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ScopedFingerprintWriter.kt

        private val writeContext: DefaultWriteContext
    ) : Closeable {
        override fun close() {
            // we synchronize access to all resources used by callbacks
            // in case there was still an event being dispatched at closing time.
            synchronized(writeContext) {
                unsafeWrite(null)
                writeContext.close()
            }
        }
    
        fun write(value: T, trace: PropertyTrace? = null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. pkg/ctrlz/ctrlz.go

    //
    // Close is not normally used by programs that expose ControlZ, it is primarily intended to be
    // used by tests.
    func (s *Server) Close() {
    	log.Info("Closing ControlZ")
    
    	if s.listener != nil {
    		if err := s.listener.Close(); err != nil {
    			log.Warnf("Error closing ControlZ: %v", err)
    		}
    		s.shutdown.Wait()
    	}
    }
    
    func (s *Server) Address() string {
    	return s.httpServer.Addr
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/cmd/covdata/covdata.go

    			fatal("%v", err)
    		}
    		if err := pprof.StartCPUProfile(f); err != nil {
    			fatal("%v", err)
    		}
    		atExit(func() {
    			pprof.StopCPUProfile()
    			if err = f.Close(); err != nil {
    				fatal("error closing cpu profile: %v", err)
    			}
    		})
    	}
    	if *memprofileflag != "" {
    		if *memprofilerateflag != 0 {
    			runtime.MemProfileRate = *memprofilerateflag
    		}
    		f, err := os.Create(*memprofileflag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/ClientInputForwarder.java

                    inputReader.putInput(new UserInputReader.TextResponse(input.getResponse()));
                }
    
                @Override
                public void onEndOfInput() {
                    LOGGER.debug("Closing this process' stdin at end of input.");
                    try {
                        stdInStream.close();
                        inputReader.putInput(UserInputReader.END_OF_INPUT);
                    } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/net/unixsock_posix.go

    // That is, when the listener and the underlying socket file were created by a call to
    // Listen or ListenUnix, then by default closing the listener will remove the socket file.
    // but if the listener was created by a call to FileListener to use an already existing
    // socket file, then by default closing the listener will not remove the socket file.
    func (l *UnixListener) SetUnlinkOnClose(unlink bool) {
    	l.unlink = unlink
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/FileZipInput.java

    import java.util.Iterator;
    import java.util.zip.ZipFile;
    
    public class FileZipInput implements ZipInput {
    
        /**
         * Creates a stream of the entries in the given zip file. Caller is responsible for closing the return value.
         *
         * @throws FileException on failure to open the Zip
         */
        public static ZipInput create(File file) throws FileException {
            if (isZipFileSafeToUse()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java

            //without it, the parent hangs without receiving the message above (flushing does not help).
            LOGGER.debug("Completed writing the daemon greeting. Closing streams...");
            //btw. the ibm vm+winXP also has some issues detecting closed streams by the child but we handle this problem differently.
        }
    
        @SuppressWarnings("DefaultCharset")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy

            def build = executer.withTasks("b").start()
    
            handleA.waitForAllPendingCalls()
            // Increase the chance of the test to detect a broken implementation that doesn't wait for events to be processed before closing the service.
            sleep(1000)
            handleA.releaseAll()
    
            result = build.waitForFinish()
    
            then: "build succeeds and only one listener service was created"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top