Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 164 for Closest (0.17 sec)

  1. 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)
  2. 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)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java

     * <li>The client sends a {@link Finished} message once it has received the {@link Result} message.
     *     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 Finished} message.</li>
     * </ul>
     *
     * <p>To stop a daemon:</p>
     *
     * <ul>
     * <li>The client creates a connection to daemon.</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. src/internal/trace/gc.go

    	c.mmu(window, &acc)
    	return acc.mmu
    }
    
    // Examples returns n specific examples of the lowest mutator
    // utilization for the given window size. The returned windows will be
    // disjoint (otherwise there would be a huge number of
    // mostly-overlapping windows at the single lowest point). There are
    // no guarantees on which set of disjoint windows this returns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    		// Afterwards the final priorities can be calculted from 0 (highest) to N (lowest) without skipping.
    		priorityInt := int(loadAssignment.Endpoints[i].Priority*5) + priority
    		loadAssignment.Endpoints[i].Priority = uint32(priorityInt)
    		priorityMap[priorityInt] = append(priorityMap[priorityInt], i)
    	}
    
    	// since Priorities should range from 0 (highest) to N (lowest) without skipping.
    	// 2. adjust the priorities in order
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/MultiProcessSafeIndexedCacheTest.groovy

            when:
            cache.finishWork()
    
            then:
            1 * fileAccess.writeFile(!null) >> { Runnable action -> action.run() }
            1 * backingCache.close()
            0 * _._
        }
    
        def "closes cache when closed"() {
            given:
            cacheOpened()
    
            when:
            cache.finishWork()
    
            then:
            1 * fileAccess.writeFile(!null) >> { Runnable action -> action.run() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil.go

    // to the peer.
    type WriteOnCloser struct {
    	io.Writer
    	hasWritten bool
    }
    
    func (w *WriteOnCloser) Write(p []byte) (int, error) {
    	w.hasWritten = true
    	return w.Writer.Write(p)
    }
    
    // Close closes the WriteOnCloser. It behaves like io.Closer.
    func (w *WriteOnCloser) Close() error {
    	if !w.hasWritten {
    		_, err := w.Write(nil)
    		if err != nil {
    			return err
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/net/http/httptest/server.go

    	}
    	log.Print(buf.String())
    }
    
    // CloseClientConnections closes any open HTTP connections to the test Server.
    func (s *Server) CloseClientConnections() {
    	s.mu.Lock()
    	nconn := len(s.conns)
    	ch := make(chan struct{}, nconn)
    	for c := range s.conns {
    		go s.closeConnChan(c, ch)
    	}
    	s.mu.Unlock()
    
    	// Wait for outstanding closes to finish.
    	//
    	// Out of paranoia for making a late change in Go 1.6, we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/PersistentCache.java

         */
        <K, V> IndexedCache<K, V> createIndexedCache(String name, Class<K> keyType, Serializer<V> valueSerializer);
    
        <K, V> boolean indexedCacheExists(IndexedCacheParameters<K, V> parameters);
    
        /**
         * Closes this cache, blocking until all operations are complete.
         */
        @Override
        void close();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 07:59:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy

            then:
            ref1.reference.cache.is(ref2.reference.cache)
    
            and:
            1 * opened.accept(_)
            0 * opened._
    
            cleanup:
            factory.close()
        }
    
        void "closes cache instance when factory is closed"() {
            def implementation
    
            when:
            factory.open(tmpDir.testDirectory, null, [prop: 'value'], mode(Exclusive), null, null)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top