Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for testLogs (0.23 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/ssa/debug_lines_test.go

    	cmd.Dir = tmpdir
    	cmd.Env = replaceEnv(cmd.Env, "GOSSADIR", tmpdir)
    	testGoos := "linux" // default to linux
    	if testGoArch() == "wasm" {
    		testGoos = "js"
    	}
    	cmd.Env = replaceEnv(cmd.Env, "GOOS", testGoos)
    	cmd.Env = replaceEnv(cmd.Env, "GOARCH", testGoArch())
    
    	if testing.Verbose() {
    		fmt.Printf("About to run %s\n", asCommandLine("", cmd))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    }
    
    func TestDryRunPreemption(t *testing.T) {
    	tests := []struct {
    		name                    string
    		args                    *config.DefaultPreemptionArgs
    		nodeNames               []string
    		testPods                []*v1.Pod
    		initPods                []*v1.Pod
    		registerPlugins         []tf.RegisterPluginFunc
    		pdbs                    []*policy.PodDisruptionBudget
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/filter.go

    		}
    	case sizeGtPred:
    		if f.ObjectSizeGreaterThan < 0 {
    			err = errXMLNotWellFormed
    		}
    	}
    	return err
    }
    
    // TestTags tests if the object tags satisfy the Filter tags requirement,
    // it returns true if there is no tags in the underlying Filter.
    func (f Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cache := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class FieldDescImplTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testHOGE() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc hoge = beanDesc.getFieldDesc("HOGE");
            assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc)));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vet/vet_test.go

    	}
    	err = errorCheck(string(output), false, fullshort...)
    	if err != nil {
    		t.Errorf("error check failed: %s", err)
    	}
    }
    
    // TestTags verifies that the -tags argument controls which files to check.
    func TestTags(t *testing.T) {
    	t.Parallel()
    	for tag, wantFile := range map[string]int{
    		"testtag":     1, // file1
    		"x testtag y": 1,
    		"othertag":    2,
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/go/internal/cfg/cfg.go

    		GOROOTsrc = filepath.Join(goroot, "src")
    	}
    
    	installedGOOS = runtime.GOOS
    	installedGOARCH = runtime.GOARCH
    	if isTestGo {
    		if testOS := os.Getenv("TESTGO_GOHOSTOS"); testOS != "" {
    			installedGOOS = testOS
    		}
    		if testArch := os.Getenv("TESTGO_GOHOSTARCH"); testArch != "" {
    			installedGOARCH = testArch
    		}
    	}
    
    	if runtime.Compiler != "gccgo" {
    		if goroot == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top