Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for closeDot (0.13 sec)

  1. src/net/textproto/reader.go

    	}
    	if err == nil && d.state == stateEOF {
    		err = io.EOF
    	}
    	if err != nil && d.r.dot == d {
    		d.r.dot = nil
    	}
    	return
    }
    
    // closeDot drains the current DotReader if any,
    // making sure that it reads until the ending dot line.
    func (r *Reader) closeDot() {
    	if r.dot == nil {
    		return
    	}
    	buf := make([]byte, 128)
    	for r.dot != nil {
    		// When Read reaches EOF or an error,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        assertInterrupted();
      }
    
      public void testJoinTimeoutMultiInterruptExpired() {
        /*
         * We don't "need" to schedule a thread completion at all here, but by doing
         * so, we come the closest we can to testing that the wait time is
         * appropriately decreased on each progressive join() call.
         */
        TimedThread thread = TimedThread.createWithDelay(LONG_DELAY_MS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. src/go/types/check_test.go

    		// len(indices) > 0
    
    		// If there are multiple matching errors, select the one with the closest column position.
    		index := -1 // index of matching error
    		var delta int
    		for _, i := range indices {
    			if d := absDiff(gotPos.Column, errList[i].col); index < 0 || d < delta {
    				index, delta = i, d
    			}
    		}
    
    		// The closest column position must be within expected colDelta.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check_test.go

    		// len(indices) > 0
    
    		// If there are multiple matching errors, select the one with the closest column position.
    		index := -1 // index of matching error
    		var delta uint
    		for _, i := range indices {
    			if d := absDiff(gotPos.Col(), errList[i].Pos.Col()); index < 0 || d < delta {
    				index, delta = i, d
    			}
    		}
    
    		// The closest column position must be within expected colDelta.
    		if delta > colDelta {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

          if (activeMenuHdr != e.target.closest('.menu-item')) {
            cancelActiveMenu();
          }
        }, { passive: true, capture: true });
      }
    
      // If there is an active menu and an up event inside, retract the menu.
      document.addEventListener('mouseup', (e) => {
        if (activeMenu == e.target.closest('.submenu')) {
          cancelActiveMenu();
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java

            return new DefaultBuildIdentifier(absoluteBuildPath);
        }
    
        private Path assignPath(BuildState owner, String name, File dir) {
            // Get the closest ancestor build of the build directory which we are currently adding
            Optional<Map.Entry<File, NestedBuildState>> parentBuild = nestedBuildsByRootDir.entrySet().stream()
                .filter(entry -> isPrefix(entry.getKey(), dir))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                get() = ******@****.***
        }
    
        private
        fun executionEngineFor(scriptHost: KotlinScriptHost<*>): ExecutionEngine {
            // get the ExecutionEngine from the closest available service scope
            // for the global one has no support for the build cache
            return (scriptHost.target as? Project)?.serviceOf()
                ?: executionEngine
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

         *   - a BOM import to the junit BOM which manages the dep to 0.2
         * This <i>currently</i> results in 0.1 (first wins, unexpected as this is not the closest) and a warning
         */
        @Test
        void testManagedDependencyDistance() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 01 16:25:04 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/typeregistration/BaseInstanceFactoryTest.groovy

            IllegalArgumentException e = thrown()
            e.message == "No factory registered to create an instance of implementation class '${fullyQualifiedNameOf(DefaultThingSpec)}'."
        }
    
        def "factory for closest superclass to create implementation for a public type"() {
            def thingMock = Mock(ThingSpec)
            def nodeMock = Mock(MutableModelNode)
            instanceFactory.registerFactory(BaseThingSpec, factoryMock)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

        public val implicitReceivers: List<KaImplicitReceiver> by validityAsserted(implicitReceivers)
    
        /**
         * Scopes for position, sorted according to their indexes in scope tower, i.e. the first scope is the closest one to position.
         */
        public val scopes: List<KaScopeWithKind> by validityAsserted(scopes)
    }
    
    public typealias KtScopeContext = KaScopeContext
    
    public class KaImplicitReceiver(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top