Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,892 for testint (0.13 sec)

  1. src/archive/tar/fuzz_test.go

    // Copyright 2021 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 tar
    
    import (
    	"bytes"
    	"io"
    	"testing"
    )
    
    func FuzzReader(f *testing.F) {
    	b := bytes.NewBuffer(nil)
    	w := NewWriter(b)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.testers.ListListIteratorTester.getListIteratorFullyModifiableMethod;
    import static com.google.common.collect.testing.testers.ListSubListTester.getSubListOriginalListSetAffectsSubListLargeListMethod;
    import static com.google.common.collect.testing.testers.ListSubListTester.getSubListOriginalListSetAffectsSubListMethod;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. internal/ioutil/ioutil_test.go

    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"os"
    	"strings"
    	"testing"
    	"time"
    )
    
    type sleepWriter struct {
    	timeout time.Duration
    }
    
    func (w *sleepWriter) Write(p []byte) (n int, err error) {
    	time.Sleep(w.timeout)
    	return len(p), nil
    }
    
    func (w *sleepWriter) Close() error {
    	return nil
    }
    
    func TestDeadlineWorker(t *testing.T) {
    	work := NewDeadlineWorker(500 * time.Millisecond)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. internal/crypto/header_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	"encoding/base64"
    	"net/http"
    	"sort"
    	"testing"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func TestIsRequested(t *testing.T) {
    	for i, test := range kmsIsRequestedTests {
    		_, got := IsRequested(test.Header)
    		if Requested(test.Header) != got {
    			// Test if result matches.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  5. clause/returning_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestReturning(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Returning{
    				[]clause.Column{clause.PrimaryColumn},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`", nil,
    		}, {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 845 bytes
    - Viewed (0)
  6. internal/s3select/jstream/decoder_test.go

    package jstream
    
    import (
    	"bytes"
    	"testing"
    )
    
    func mkReader(s string) *bytes.Reader { return bytes.NewReader([]byte(s)) }
    
    func TestDecoderSimple(t *testing.T) {
    	var (
    		counter int
    		mv      *MetaValue
    		body    = `[{"bio":"bada bing bada boom","id":1,"name":"Charles","falseVal":false}]`
    	)
    
    	decoder := NewDecoder(mkReader(body), 1)
    
    	for mv = range decoder.Stream() {
    		counter++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

    import com.google.common.collect.testing.Helpers.NullsBeforeB;
    import com.google.common.collect.testing.NavigableSetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringSetGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.google.MultisetFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. internal/bucket/versioning/versioning_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package versioning
    
    import (
    	"encoding/xml"
    	"strings"
    	"testing"
    )
    
    func TestParseConfig(t *testing.T) {
    	testcases := []struct {
    		input            string
    		err              error
    		excludedPrefixes []string
    		excludeFolders   bool
    	}{
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

    import static java.lang.Math.max;
    
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringMapGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Map;
    import java.util.Map.Entry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables_e2e_test.go

    }
    
    func validateIptablesClean(t *testing.T) {
    	cur := iptablesSave(t)
    	if strings.Contains(cur, "ISTIO") {
    		t.Fatalf("Istio rules leftover: %v", cur)
    	}
    	if strings.Contains(cur, "-A") {
    		t.Fatalf("Rules: %v", cur)
    	}
    }
    
    var initialized = &sync.Once{}
    
    func setup(t *testing.T) {
    	initialized.Do(func() {
    		// Setup group namespace so iptables --gid-owner will work
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top