Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for testProg (0.31 sec)

  1. pkg/spiffe/spiffe_test.go

    			expectedURI:    "spiffe://cluster.local/ns/foo/sa/bar",
    		},
    		{
    			namespace:      "foo",
    			serviceAccount: "bar",
    			trustDomain:    "kube-federating-id@testproj.iam.gserviceaccount.com",
    			expectedURI:    "spiffe://kube-federating-id.testproj.iam.gserviceaccount.com/ns/foo/sa/bar",
    		},
    	}
    	for id, tc := range testCases {
    		got, err := genSpiffeURI(tc.trustDomain, tc.namespace, tc.serviceAccount)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/trace/testdata/tests/go122-gc-stress.test

    String id=31
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/slice.go"
    String id=32
    	data="main.main.func1"
    String id=33
    	data="/usr/local/google/home/mknyszek/work/go-1/src/internal/trace/v2/testdata/testprog/gc-stress.go"
    String id=34
    	data="runtime.gcMarkDone"
    String id=35
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/mgc.go"
    String id=36
    	data="runtime.gcMarkTermination"
    String id=37
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 139.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
        assertEquals("{foo={1=a}}", table.toString());
      }
    
      public void testRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo"));
      }
    
      // This test assumes that the implementation does not support null keys.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 16:54:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

            parameter.logLevel = LogLevel.DEBUG
            parameter.consoleOutput = ConsoleOutput.Plain
            parameter.configureOnDemand = true
            parameter.systemPropertiesArgs.put("testprop", "foo")
    
            // Non-copied
            parameter.currentDir = new File("other")
            parameter.buildFile = new File("build file")
            parameter.settingsFile = new File("settings file")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. pkg/log/scope_test.go

    		f()
    		_ = Sync()
    	})
    	if err != nil {
    		t.Fatalf("Got error '%v', expected success", err)
    	}
    	if lines[len(lines)-1] == "" {
    		return lines[:len(lines)-1]
    	}
    	return lines
    }
    
    func TestKlog(t *testing.T) {
    	cases := []struct {
    		log      func()
    		expected string
    	}{
    		{
    			func() { klog.Error("foo") },
    			"error\tklog\tfoo$",
    		},
    		{
    			func() { klog.Error("foo") },
    			"foo$",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. tests/sql_builder_test.go

    package tests_test
    
    import (
    	"regexp"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestRow(t *testing.T) {
    	user1 := User{Name: "RowUser1", Age: 1}
    	user2 := User{Name: "RowUser2", Age: 10}
    	user3 := User{Name: "RowUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	row := DB.Table("users").Where("name = ?", user2.Name).Select("age").Row()
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/testdata/arith_test.go

    //go:noinline
    func lrot3_ssa(w uint32) uint32 {
    	// Want to be sure that a "rotate by 32" which
    	// is really 0 | (w >> 0) == w
    	// is correctly compiled.
    	return (w << 32) | (w >> (32 - 32))
    }
    
    func testLrot(t *testing.T) {
    	wantA, wantB, wantC, wantD := uint8(0xe1), uint16(0xe001),
    		uint32(0xe0000001), uint64(0xe000000000000001)
    	a, b, c, d := lrot1_ssa(0xf, 0xf, 0xf, 0xf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
Back to top