Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for testLogs (0.17 sec)

  1. tensorflow/compiler/mlir/tfr/examples/customization/test_ops_test.py

    import os
    import tensorflow as tf
    
    from tensorflow.compiler.mlir.tfr.python import test_utils
    from tensorflow.python.framework import test_ops
    from tensorflow.python.platform import test
    
    
    class TestOpsDefsTest(test_utils.OpsDefsTest):
    
      def test_test_ops(self):
        attr = tf.function(test_ops.test_attr)(tf.float32)
        self.assertAllClose(attr.numpy(), 100.0)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:41:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    		}
    		var itemOut genericapitesting.SimpleList
    		err = decoder.Decode(&itemOut)
    		if err != nil {
    			t.Errorf("failed to read response body as SimpleList: %v", err)
    		}
    	}
    }
    
    func TestLogs(t *testing.T) {
    	handler := handle(map[string]rest.Storage{})
    	server := httptest.NewServer(handler)
    	defer server.Close()
    	client := http.Client{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  4. 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)
  5. pkg/scheduler/framework/preemption/preemption_test.go

    		nodes              []*v1.Node
    		testPods           []*v1.Pod
    		initPods           []*v1.Pod
    		numViolatingVictim int
    		expected           [][]Candidate
    	}{
    		{
    			name: "no pdb violation",
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(veryLargeRes).Obj(),
    				st.MakeNode().Name("node2").Capacity(veryLargeRes).Obj(),
    			},
    			testPods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/nodes_test.go

    	testPos(t, exprs, "package p; var _ = T{ ", " }",
    		func(f *File) Node { return f.DeclList[0].(*VarDecl).Values.(*CompositeLit).ElemList[0] },
    	)
    
    	// embed types in a function  signature so we can test ... types
    	testPos(t, types, "package p; func f(", ")",
    		func(f *File) Node { return f.DeclList[0].(*FuncDecl).Type.ParamList[0].Type },
    	)
    
    	testPos(t, fields, "package p; func f(", ")",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. hack/make-rules/test.sh

          exit 1
          ;;
        ?)
          kube::test::usage
          exit 1
          ;;
      esac
    done
    shift $((OPTIND - 1))
    
    # Use eval to preserve embedded quoted strings.
    testargs=()
    eval "testargs=(${KUBE_TEST_ARGS:-})"
    
    # Used to filter verbose test output.
    go_test_grep_pattern=".*"
    
    goflags=()
    # The junit report tool needs full test case information to produce a
    # meaningful report.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/os/stat.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import "internal/testlog"
    
    // Stat returns a [FileInfo] describing the named file.
    // If there is an error, it will be of type [*PathError].
    func Stat(name string) (FileInfo, error) {
    	testlog.Stat(name)
    	return statNolog(name)
    }
    
    // Lstat returns a [FileInfo] describing the named file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 973 bytes
    - Viewed (0)
  9. src/internal/testlog/log.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package testlog provides a back-channel communication path
    // between tests and package os, so that cmd/go can see which
    // environment variables and files a test consults.
    package testlog
    
    import "sync/atomic"
    
    // Interface is the interface required of test loggers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 19:08:32 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  10. 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)
Back to top