Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 114 for Closest (0.21 sec)

  1. 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)
  2. src/cmd/internal/pgo/pgo.go

    // edge weight.
    type NamedEdgeMap struct {
    	Weight map[NamedCallEdge]int64
    
    	// ByWeight lists all keys in Weight, sorted by edge weight from
    	// highest to lowest.
    	ByWeight []NamedCallEdge
    }
    
    func emptyProfile() *Profile {
    	// Initialize empty maps/slices for easier use without a requiring a
    	// nil check.
    	return &Profile{
    		NamedEdgeMap: NamedEdgeMap{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.6K 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. 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)
  6. 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)
  7. 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)
  8. 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)
  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. 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)
Back to top