Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for testlink (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package testing
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"math"
    	"reflect"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  2. pkg/volume/testing/testing.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	goruntime "runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/utils/exec"
    	testingexec "k8s.io/utils/exec/testing"
    	utilstrings "k8s.io/utils/strings"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/testing/testing.go

    //
    // # Fuzzing
    //
    // 'go test' and the testing package support fuzzing, a testing technique where
    // a function is called with randomly generated inputs to find bugs not
    // anticipated by unit tests.
    //
    // Functions of the form
    //
    //	func FuzzXxx(*testing.F)
    //
    // are considered fuzz tests.
    //
    // For example:
    //
    //	func FuzzHex(f *testing.F) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

            }
        }
    
        private static JvmTestKind toJvmTestKind(String testKind) {
            if (InternalJvmTestDescriptor.KIND_SUITE.equals(testKind)) {
                return JvmTestKind.SUITE;
            } else if (InternalJvmTestDescriptor.KIND_ATOMIC.equals(testKind)) {
                return JvmTestKind.ATOMIC;
            } else {
                return JvmTestKind.UNKNOWN;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  5. src/fmt/fmt_test.go

    func BenchmarkSprintfEmpty(b *testing.B) {
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			_ = Sprintf("")
    		}
    	})
    }
    
    func BenchmarkSprintfString(b *testing.B) {
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			_ = Sprintf("%s", "hello")
    		}
    	})
    }
    
    func BenchmarkSprintfTruncateString(b *testing.B) {
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/test.go

    	func BenchmarkXxx(b *testing.B) { ... }
    
    A fuzz test is one named FuzzXxx and should have the signature,
    
    	func FuzzXxx(f *testing.F) { ... }
    
    An example function is similar to a test function but, instead of using
    *testing.T to report success or failure, prints output to os.Stdout.
    If the last comment in the function starts with "Output:" then the output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    // removing objects that they create. That would avoid name-collisions.
    
    type Tester struct {
    	*testing.T
    	storage             rest.Storage
    	clusterScope        bool
    	createOnUpdate      bool
    	generatesName       bool
    	returnDeletedObject bool
    	namer               func(int) string
    }
    
    func New(t *testing.T, storage rest.Storage) *Tester {
    	return &Tester{
    		T:       t,
    		storage: storage,
    		namer:   defaultNamer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  8. tests/query_test.go

    package tests_test
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestFind(t *testing.T) {
    	users := []User{
    		*GetUser("find", Config{}),
    		*GetUser("find", Config{}),
    		*GetUser("find", Config{}),
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  9. src/math/all_test.go

    	x := 0.0
    	for i := 0; i < b.N; i++ {
    		x = Erf(.5)
    	}
    	GlobalF = x
    }
    
    func BenchmarkErfc(b *testing.B) {
    	x := 0.0
    	for i := 0; i < b.N; i++ {
    		x = Erfc(.5)
    	}
    	GlobalF = x
    }
    
    func BenchmarkErfinv(b *testing.B) {
    	x := 0.0
    	for i := 0; i < b.N; i++ {
    		x = Erfinv(.5)
    	}
    	GlobalF = x
    }
    
    func BenchmarkErfcinv(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/lib.go

    	if out, err := exec.Command(argv[0], argv[1:]...).CombinedOutput(); err != nil {
    		Exitf("running %s failed: %v\n%s", argv[0], err, out)
    	}
    }
    
    func (ctxt *Link) hostlink() {
    	if ctxt.LinkMode != LinkExternal || nerrors > 0 {
    		return
    	}
    	if ctxt.BuildMode == BuildModeCArchive {
    		return
    	}
    
    	var argv []string
    	argv = append(argv, ctxt.extld()...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top