Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 505 for Testing (0.36 sec)

  1. cmd/metacache-walk_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalWalkDirOptions(t *testing.T) {
    	v := WalkDirOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue24161_darwin_test.go

    //go:build cgo
    
    package cgotest
    
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/issue24161arg"
    	"cmd/cgo/internal/test/issue24161e0"
    	"cmd/cgo/internal/test/issue24161e1"
    	"cmd/cgo/internal/test/issue24161e2"
    	"cmd/cgo/internal/test/issue24161res"
    )
    
    func Test24161Arg(t *testing.T) {
    	issue24161arg.Test(t)
    }
    func Test24161Res(t *testing.T) {
    	issue24161res.Test(t)
    }
    Go
    - Registered: Tue Apr 09 11:13:10 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 716 bytes
    - Viewed (0)
  3. cmd/dynamic-timeouts_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"math/rand"
    	"runtime"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestDynamicTimeoutSingleIncrease(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    	for i := 0; i < dynamicTimeoutLogSize; i++ {
    		timeout.LogFailure()
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    			expectedOutput:    customYAML,
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.description), func(t *testing.T) {
    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    func verifyTestcaseOutput(t *testing.T, cmd *cobra.Command, c testcase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/format-erasure_test.go

    			}
    		}
    	}
    }
    
    func BenchmarkInitStorageDisks256(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 256)
    }
    
    func BenchmarkInitStorageDisks1024(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 1024)
    }
    
    func BenchmarkInitStorageDisks2048(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 2048)
    }
    
    func BenchmarkInitStorageDisksMax(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 32*204)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. schema/schema_helper_test.go

    package schema_test
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func checkSchema(t *testing.T, s *schema.Schema, v schema.Schema, primaryFields []string) {
    	t.Run("CheckSchema/"+s.Name, func(t *testing.T) {
    		tests.AssertObjEqual(t, s, v, "Name", "Table")
    
    		for idx, field := range primaryFields {
    			var found bool
    			for _, f := range s.PrimaryFields {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/istiodconfig_test.go

    // limitations under the License.
    
    package admin
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"os"
    	"reflect"
    	"testing"
    )
    
    func Test_newScopeLevelPair(t *testing.T) {
    	validationPattern := `^\w+:(debug|error|warn|info|debug)`
    	type args struct {
    		slp               string
    		validationPattern string
    	}
    	tests := []struct {
    		name    string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/addr2line/addr2line_test.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/server_test.go

    	"errors"
    	"net/netip"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/mock"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes/fake"
    
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestMeshDataplaneAddsAnnotationOnAdd(t *testing.T) {
    	pod := &corev1.Pod{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. cmd/leak-detect_test.go

    // and other runtime functions while identifying leaks.
    var ignoredStackFns = []string{
    	"",
    	// Below are the stacks ignored by the upstream leaktest code.
    	"testing.Main(",
    	"testing.tRunner(",
    	"testing.tRunner(",
    	"runtime.goexit",
    	"created by runtime.gc",
    	// ignore the snapshot function.
    	// since the snapshot is taken here the entry will have the current function too.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top