Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for TestKlog (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/os/exec.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.
    
    package os
    
    import (
    	"errors"
    	"internal/testlog"
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"time"
    )
    
    // ErrProcessDone indicates a [Process] has finished.
    var ErrProcessDone = errors.New("os: process already finished")
    
    type processMode uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/testdata/issue29198.gox

    v2;
    package server;
    pkgpath issue29198;
    import context context "context";
    import errors errors "errors";
    init context context..import fmt fmt..import poll internal_poll..import testlog internal_testlog..import io io..import os os..import reflect reflect..import runtime runtime..import sys runtime_internal_sys..import strconv strconv..import sync sync..import syscall syscall..import time time..import unicode unicode..import;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  6. src/testing/testing.go

    		os.Exit(2)
    	}
    	if *testlog != "" {
    		// Note: Not using toOutputDir.
    		// This file is for use by cmd/go, not users.
    		var f *os.File
    		var err error
    		if m.numRun == 1 {
    			f, err = os.Create(*testlog)
    		} else {
    			f, err = os.OpenFile(*testlog, os.O_WRONLY, 0)
    			if err == nil {
    				f.Seek(0, io.SeekEnd)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. src/go/build/deps_test.go

    	# OS is basic OS access, including helpers (path/filepath, os/exec, etc).
    	# OS includes string routines, but those must be layered above package os.
    	# OS does not include reflection.
    	io/fs
    	< internal/testlog
    	< internal/poll
    	< internal/filepathlite
    	< os
    	< os/signal;
    
    	io/fs
    	< embed;
    
    	unicode, fmt !< net, os, os/signal;
    
    	os/signal, internal/filepathlite, STR
    	< path/filepath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

                }
            """
            file("hello/build.gradle") << """
                apply plugin: 'swift-library'
                group = 'test'
                dependencies {
                    api 'test:log:1.4'
                }
            """
            file("log/build.gradle") << """
                apply plugin: 'swift-library'
                group = 'test'
            """
    
            app.library.writeToProject(file("hello"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. src/math/cmplx/cmath_test.go

    func TestIsNaN(t *testing.T) {
    	for i := 0; i < len(vcIsNaNSC); i++ {
    		if f := IsNaN(vcIsNaNSC[i]); isNaNSC[i] != f {
    			t.Errorf("IsNaN(%v) = %v, want %v", vcIsNaNSC[i], f, isNaNSC[i])
    		}
    	}
    }
    func TestLog(t *testing.T) {
    	for i := 0; i < len(vc); i++ {
    		if f := Log(vc[i]); !cVeryclose(log[i], f) {
    			t.Errorf("Log(%g) = %g, want %g", vc[i], f, log[i])
    		}
    	}
    	for _, v := range logSC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  10. src/math/all_test.go

    		if f, s := Lgamma(vflgammaSC[i]); !alike(lgammaSC[i].f, f) || lgammaSC[i].i != s {
    			t.Errorf("Lgamma(%g) = %g, %d, want %g, %d", vflgammaSC[i], f, s, lgammaSC[i].f, lgammaSC[i].i)
    		}
    	}
    }
    
    func TestLog(t *testing.T) {
    	for i := 0; i < len(vf); i++ {
    		a := Abs(vf[i])
    		if f := Log(a); log[i] != f {
    			t.Errorf("Log(%g) = %g, want %g", a, f, log[i])
    		}
    	}
    	if f := Log(10); f != Ln10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
Back to top