Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 5,278 for stars (0.18 sec)

  1. src/internal/trace/summary_test.go

    	case trace.EventBad:
    		if region.Start != nil {
    			t.Errorf("expected nil region start event, got\n%s", region.Start.String())
    		}
    	case trace.EventStateTransition, trace.EventRegionBegin:
    		if region.Start == nil {
    			t.Error("expected non-nil region start event, got nil")
    		}
    		kind := region.Start.Kind()
    		if kind != wantStart {
    			t.Errorf("wanted region start event %s, got %s", wantStart, kind)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ProgressOperationsTest.groovy

        def ops = new ProgressOperations()
    
        def "starts operation"() {
            when:
            def op = ops.start("compile", null, new OperationIdentifier(1), null)
    
            then:
            op.parent == null
            op.operationId.id == 1L
        }
    
        def "maintains operation hierarchy"() {
            when:
            def op1 = ops.start("compile", null, new OperationIdentifier(1), null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. tools/bug-report/pkg/processlog/processlog.go

    // Stats represents log statistics.
    type Stats struct {
    	numFatals   int
    	numErrors   int
    	numWarnings int
    }
    
    // Importance returns an integer that indicates the importance of the log, based on the given Stats in s.
    // Larger numbers are more important.
    func (s *Stats) Importance() int {
    	if s == nil {
    		return 0
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. pkg/kubelet/server/metrics/metrics.go

    // SinceInSeconds gets the time since the specified start in seconds.
    func SinceInSeconds(start time.Time) float64 {
    	return time.Since(start).Seconds()
    }
    
    // CollectVolumeStatCalDuration collects the duration in seconds to calculate volume stats.
    func CollectVolumeStatCalDuration(metricSource string, start time.Time) {
    	VolumeStatCalDuration.WithLabelValues(metricSource).Observe(SinceInSeconds(start))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 14:33:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/ExecHandleListener.java

        /**
         * Called before the execution of the ExecHandle starts. Unlike {@link #executionStarted(ExecHandle)}, this method is called synchronously from {@link ExecHandle#start()}.
         *
         * @param execHandle the handle that is about to start
         */
        void beforeExecutionStarted(ExecHandle execHandle);
    
        /**
         * Called before the worker thread starts running the {@code execHandle}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

        delegate.enqueue(response.wrap())
      }
    
      @Throws(IOException::class)
      @JvmOverloads
      fun start(port: Int = 0) {
        started = true
        delegate.start(port)
      }
    
      @Throws(IOException::class)
      fun start(
        inetAddress: InetAddress,
        port: Int,
      ) {
        started = true
        delegate.start(inetAddress, port)
      }
    
      @Synchronized
      @Throws(IOException::class)
      fun shutdown() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/cmd/trace/tasks.go

    		summary := make(map[string]taskStats)
    		for _, task := range tasks {
    			stats, ok := summary[task.Name]
    			if !ok {
    				stats.Type = task.Name
    			}
    			stats.add(task)
    			summary[task.Name] = stats
    		}
    
    		// Sort tasks by type.
    		userTasks := make([]taskStats, 0, len(summary))
    		for _, stats := range summary {
    			userTasks = append(userTasks, stats)
    		}
    		slices.SortFunc(userTasks, func(a, b taskStats) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. pilot/pkg/model/test/mockopenidserver.go

    		TLSCertFile: tlsCert,
    		TLSKeyFile:  tlsKey,
    	}
    
    	return server, server.Start()
    }
    
    // Start starts the mock server.
    func (ms *MockOpenIDDiscoveryServer) Start() error {
    	var handler http.Handler
    	router := mux.NewRouter()
    	router.HandleFunc("/.well-known/openid-configuration", ms.openIDCfg).Methods("GET")
    	router.HandleFunc("/oauth2/v3/certs", ms.jwtPubKey).Methods("GET")
    	handler = router
    	if ms.timeout != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. cmd/consolelogger.go

    	if err != nil {
    		logger.FatalIf(err, "Unable to start console logging subsystem")
    	}
    
    	sys.nodeName = host.Name
    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/internal/zstd/bits.go

    	data  block   // the bits to read
    	off   uint32  // current offset into data
    	start uint32  // start in data; we read backward to start
    	bits  uint32  // bits ready to be returned
    	cnt   uint32  // number of valid bits in bits field
    }
    
    // makeReverseBitReader makes a reverseBitReader reading backward
    // from off to start. The bitstream starts with a 1 bit in the last
    // byte, at off.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top