Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,334 for swapped (0.26 sec)

  1. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/async/ServiceLifecycleTest.groovy

            then:
            noExceptionThrown()
        }
    
        def "throws exception when attempting to use service after it has stopped"() {
            when:
            lifecycle.stop()
            lifecycle.use { }
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot use [service] as it has been stopped.'
        }
    
        def "throws exception when attempting to use service after stop has been requested"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/sort/slice.go

    //
    // Note: in many situations, the newer [slices.SortFunc] function is more
    // ergonomic and runs faster.
    func Slice(x any, less func(i, j int) bool) {
    	rv := reflectlite.ValueOf(x)
    	swap := reflectlite.Swapper(x)
    	length := rv.Len()
    	limit := bits.Len(uint(length))
    	pdqsort_func(lessSwap{less, swap}, 0, length, limit)
    }
    
    // SliceStable sorts the slice x using the provided less
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReportStatusIntegrationSpec.groovy

            out =~ /\n\s*\d+\s+IDLE\s+([\w\.\+\-]+)/
            out =~ /\n\s*\d+\s+BUSY\s+([\w\.\+\-]+)/
            out =~ /\n\s*12346\s+STOPPED\s+\(GRACEFUL_EXPIRE_REASON\)/
    
            cleanup:
            block?.releaseAll()
            build?.waitForFinish()
        }
    
        def "reports stopped status of recently stopped daemons"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/raise-custom-ops.mlir

    // WRAPPED-NEXT: tf_executor.graph {
    // WRAPPED-NEXT:   tf_executor.island wraps "tf.Const"() <{value = dense<1.000000e+00> : tensor<186xf32>}> {device = ""} : () -> tensor<186xf32>
    // WRAPPED-NEXT:   tf_executor.island wraps "tf.Const"() <{value = dense<2.000000e+00> : tensor<186xf32>}> {device = ""} : () -> tensor<186xf32>
    // WRAPPED-NEXT:   tf_executor.island wraps "tfl.custom_tf"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelIncrementalIntegrationTest.groovy

            then:
            skipped ":appVisualStudioSolution"
            executedAndNotSkipped getComponentTasks("main")
    
            and:
            final projectFile = projectFile("mainExe.vcxproj")
            assert projectFile.sourceFiles.contains('src/main/cpp/foo.cpp')
    
            when:
            run "visualStudio"
    
            then:
            skipped ":appVisualStudioSolution"
            skipped getComponentTasks("main")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterSpec.groovy

            result.add(new TestMethodResult(4, "some skipped test", "some skipped test displayName", SKIPPED, 10, startTime + 45))
    
            provider.writeAllOutput(1, StdOut, _) >> { args -> args[2].write("1st output message\n2nd output message\n") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:05 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCleanupProgressMonitorTest.groovy

            1 * context.progress("2 entries deleted, 1 skipped")
        }
    
        def "always reports deleted, even if all entries are skipped"() {
            when:
            progressMonitor.incrementSkipped()
    
            then:
            1 * context.progress("0 entries deleted, 1 skipped")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go

    	defer timer.Stop()
    	for {
    		stopped := func() bool {
    			pr.mux.Lock()
    			defer pr.mux.Unlock()
    			for pr.waiting == 0 && !pr.stopped {
    				pr.cond.Wait()
    			}
    			return pr.stopped
    		}()
    		if stopped {
    			return
    		}
    
    		select {
    		case <-timer.C():
    			shouldRequest := func() bool {
    				pr.mux.Lock()
    				defer pr.mux.Unlock()
    				return pr.waiting > 0 && !pr.stopped
    			}()
    			if !shouldRequest {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 09:56:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java

                formatter.node("Workers waiting for work: " + waitingWorkers);
                formatter.node("Stopped workers: " + stoppedWorkers);
                formatter.endChildren();
                return new HealthState(formatter);
            }
    
            enum ExecutionState {
                Running, Waiting, Stopped
            }
    
            private static class HealthState {
                final TreeFormatter detailMessage;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    		callCount++
    	})
    	// wrap with start and completed handler
    	wrapped := TrackCompleted(handler)
    	wrapped = TrackStarted(wrapped, tp, filterName)
    
    	testRequest, err := http.NewRequest(http.MethodGet, "/api/v1/namespaces", nil)
    	if err != nil {
    		t.Fatalf("failed to create new http request - %v", err)
    	}
    
    	wrapped.ServeHTTP(httptest.NewRecorder(), testRequest)
    
    	if callCount != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top