- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 60 for testProg (0.22 sec)
-
src/internal/testlog/exit.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package testlog import ( "sync" _ "unsafe" // for linkname ) // PanicOnExit0 reports whether to panic on a call to os.Exit(0). // This is in the testlog package because, like other definitions in // package testlog, it is a hook between the testing package and the // os package. This is used to ensure that an early call to os.Exit(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/kubelet/logs/container_log_manager_test.go
testFile.Close() testLog := testFile.Name() c := &containerLogManager{osInterface: container.RealOS{}} require.NoError(t, c.compressLog(testLog)) _, err = os.Stat(testLog + compressSuffix) assert.NoError(t, err, "log should be compressed") _, err = os.Stat(testLog + tmpSuffix) assert.Error(t, err, "temporary log should be renamed") _, err = os.Stat(testLog)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 12.7K bytes - Viewed (0) -
src/os/env.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // General environment variables. package os import ( "internal/testlog" "syscall" ) // Expand replaces ${var} or $var in the string based on the mapping function. // For example, [os.ExpandEnv](s) is equivalent to [os.Expand](s, [os.Getenv]).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/AbstractDependencyDescriptorFactoryInternalSpec.groovy
abstract class AbstractDependencyDescriptorFactoryInternalSpec extends Specification { static final TEST_DEP_CONF = "depconf1" static final TEST_EXCLUDE_RULE = new org.gradle.api.internal.artifacts.DefaultExcludeRule("testOrg", null) static final TEST_IVY_EXCLUDE_RULE = getTestExcludeRule() static final ARTIFACT = new DefaultDependencyArtifact("name", "type", "classifier", "ext", null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 27 19:31:08 UTC 2024 - 4.9K bytes - Viewed (0) -
src/os/proc.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Process etc. package os import ( "internal/testlog" "runtime" "syscall" ) // Args hold the command-line arguments, starting with the program name. var Args []string func init() { if runtime.GOOS == "windows" { // Initialized in exec_windows.go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
Properties testProp = new Properties(); Map<String, String> result = Maps.fromProperties(testProp); assertTrue(result.isEmpty()); testProp.setProperty("first", "true"); result = Maps.fromProperties(testProp); assertEquals("true", result.get("first")); assertEquals(1, result.size()); testProp.setProperty("second", "null");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
* @throws Exception */ @Test public void testFatal() throws Exception { logger.fatal("fatal"); } /** * @throws Exception */ @Test public void testLog() throws Exception { logger.log("ILOGTEST0001"); } /** * @throws Exception */ @Test public void testLogWithArgs() throws Exception {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
testlog, err := os.ReadFile(a.Objdir + "testlog.txt") if err != nil || !bytes.HasPrefix(testlog, testlogMagic) || testlog[len(testlog)-1] != '\n' { if cache.DebugTest { if err != nil { fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: %v\n", a.Package.ImportPath, err) } else { fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: malformed\n", a.Package.ImportPath) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/cmd/trace/testdata/go122.test
String id=34 data="/usr/local/google/home/mknyszek/work/go-1/src/net/net.go" String id=35 data="main.main" String id=36 data="/usr/local/google/home/mknyszek/work/go-1/src/cmd/trace/v2/testdata/testprog/main.go" String id=37 data="syscall.connect" String id=38 data="syscall.Connect" String id=39 data="net.(*netFD).connect" String id=40
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 166K bytes - Viewed (0) -
src/os/file.go
func Chdir(dir string) error { if e := syscall.Chdir(dir); e != nil { testlog.Open(dir) // observe likely non-existent directory return &PathError{Op: "chdir", Path: dir, Err: e} } if runtime.GOOS == "windows" { getwdCache.Lock() getwdCache.dir = dir getwdCache.Unlock() } if log := testlog.Logger(); log != nil { wd, err := Getwd() if err == nil { log.Chdir(wd) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0)