Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for timeEnd (0.24 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    		return time.Time{}, time.Time{}, fmt.Errorf("failed to parse TimeBegin: %v", err)
    	}
    	timeEnd, ok := parsed.Meta["TimeEnd"]
    	if !ok {
    		return time.Time{}, time.Time{}, fmt.Errorf("missing counter metadata for TimeEnd")
    	}
    	end, err = time.Parse(time.RFC3339, timeEnd)
    	if err != nil {
    		return time.Time{}, time.Time{}, fmt.Errorf("failed to parse TimeEnd: %v", err)
    	}
    	return begin, end, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/ctrlz/ctrlz_test.go

    	server := startAndWaitForServer(t)
    	done := make(chan struct{}, 1)
    	go func() {
    		server.Close()
    		done <- struct{}{}
    	}()
    	select {
    	case <-done:
    	case <-time.After(5 * time.Second):
    		t.Fatal("Timed out waiting for listeningTestProbe to be called")
    	}
    }
    
    func TestSignals(t *testing.T) {
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, syscall.SIGUSR1)
    	server := startAndWaitForServer(t)
    	defer server.Close()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. pkg/probe/exec/exec_test.go

    		// Timeout
    		{probe.Failure, false, true, "", remote.ErrCommandTimedOut.Error() + ": command testcmd timed out", fmt.Errorf("%w: command testcmd timed out", remote.ErrCommandTimedOut)},
    		// ExecProbeTimeout
    		{probe.Unknown, true, false, "", "", fmt.Errorf("%w: command testcmd timed out", remote.ErrCommandTimedOut)},
    	}
    
    	for i, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/MavenDownloaderTest.groovy

            } catch (Throwable e) {
                // https://github.com/gradle/build-tool-flaky-tests/issues/112
                Assume.assumeFalse(ExceptionUtils.getStackTrace(e).contains("Connection timed out"))
                throw e
            }
    
            then:
            install.home.isDirectory()
            install.mvn.isFile()
            install.version == mavenVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics/metrics.go

    	// RecordWebhookEvaluation increments with each round-trip of a webhook authorizer.
    	// result is one of:
    	// - canceled: the call invoking the webhook request was canceled
    	// - timeout: the webhook request timed out
    	// - error: the webhook response completed and was invalid
    	// - success: the webhook response completed and was well-formed
    	RecordWebhookEvaluation(ctx context.Context, name, result string)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/timeout/impl/DefaultTimeoutHandler.java

                synchronized (lock) {
                    if (!stopped) {
                        slowStop = true;
                        doAsPartOfBuildOperation(() -> {
                            LOGGER.warn("Timed out {} has not yet stopped.", workUnitDescription.getDisplayName());
    
                            if (logStacktraceTimer.hasExpired()) {
                                StackTraceElement[] currentStackTrace = thread.getStackTrace();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessorsTest.kt

            )
        }
    
        private
        fun textFromResource(named: String) =
            javaClass.getResource(named).readText()
    
        private
        fun String.withoutTrailingWhitespace() =
            lineSequence().map { it.trimEnd() }.joinToString("\n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolveExtensionInfoProvider/AbstractResolveExtensionInfoProviderTest.kt

                appendLine("Resolve extension navigation targets: ${navTargets.size}")
                withIndent { navTargets.forEach { appendLine(it.toString()) } }
            }
        }.trimEnd()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/internal/trace/event/event.go

    	// trace reader.
    	//
    	// Events that are not "timed" are considered "structural"
    	// since they either need significant reinterpretation or
    	// otherwise aren't actually surfaced by the trace reader.
    	IsTimedEvent bool
    
    	// HasData is true if the event has trailer consisting of a
    	// varint length followed by unencoded bytes of some data.
    	//
    	// An event may not be both a timed event and have data.
    	HasData bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top