Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for runNext (0.13 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. src/runtime/sema.go

    		}
    		if handoff && cansemacquire(addr) {
    			s.ticket = 1
    		}
    		readyWithTime(s, 5+skipframes)
    		if s.ticket == 1 && getg().m.locks == 0 {
    			// Direct G handoff
    			// readyWithTime has added the waiter G as runnext in the
    			// current P; we now call the scheduler so that we start running
    			// the waiter G immediately.
    			// Note that waiter inherits our time slice: this is desirable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/runtime/runtime2.go

    	goidcache    uint64
    	goidcacheend uint64
    
    	// Queue of runnable goroutines. Accessed without lock.
    	runqhead uint32
    	runqtail uint32
    	runq     [256]guintptr
    	// runnext, if non-nil, is a runnable G that was ready'd by
    	// the current G and should be run next instead of what's in
    	// runq if there's time remaining in the running G's time
    	// slice. It will inherit the time left in the current time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeDependentAnalysisSourceModuleExpectedExpressionTypeTestGenerated.java

      public void testAnnotationPositionalArgument() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/annotationPositionalArgument.kt");
      }
    
      @Test
      @TestMetadata("arrayAccessExpressionGet.kt")
      public void testArrayAccessExpressionGet() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Apr 24 09:25:50 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/symbols/FirIdeNormalAnalysisSourceModuleSymbolByPsiTestGenerated.java

      public void testAnnotations() {
        runTest("analysis/analysis-api/testData/symbols/symbolByPsi/annotations.kt");
      }
    
      @Test
      @TestMetadata("anonymousObject.kt")
      public void testAnonymousObject() {
        runTest("analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.kt");
      }
    
      @Test
      @TestMetadata("backingField.kt")
      public void testBackingField() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Feb 16 12:48:24 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeNormalAnalysisSourceModuleHLExpressionTypeTestGenerated.java

        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/plusAssign.kt");
      }
    
      @Test
      @TestMetadata("postfixDec.kt")
      public void testPostfixDec() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/postfixDec.kt");
      }
    
      @Test
      @TestMetadata("prefixInc.kt")
      public void testPrefixInc() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/expressionTypeProvider/FirStandaloneNormalAnalysisSourceModuleHLExpressionTypeTestGenerated.java

        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/plusAssign.kt");
      }
    
      @Test
      @TestMetadata("postfixDec.kt")
      public void testPostfixDec() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/postfixDec.kt");
      }
    
      @Test
      @TestMetadata("prefixInc.kt")
      public void testPrefixInc() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/symbols/Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated.java

      public void testEnumEntries() {
        runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumEntries.kt");
      }
    
      @Test
      @TestMetadata("enumValueOf.kt")
      public void testEnumValueOf() {
        runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumValueOf.kt");
      }
    
      @Test
      @TestMetadata("enumValues.kt")
      public void testEnumValues() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 09:36:27 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/symbols/FirIdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated.java

      public void testEnumEntries() {
        runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumEntries.kt");
      }
    
      @Test
      @TestMetadata("enumValueOf.kt")
      public void testEnumValueOf() {
        runTest("analysis/analysis-api/testData/symbols/symbolByReference/enumValueOf.kt");
      }
    
      @Test
      @TestMetadata("enumValues.kt")
      public void testEnumValues() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 09:36:27 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top