Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 82 for i32test (0.14 sec)

  1. src/testing/fstest/testfs.go

    		return
    	}
    	t.checkFileRead(file, "ReadAll vs fs.ReadFile", data, data2)
    
    	// Use iotest.TestReader to check small reads, Seek, ReadAt.
    	f, err = t.fsys.Open(file)
    	if err != nil {
    		t.errorf("%s: second Open: %w", file, err)
    		return
    	}
    	defer f.Close()
    	if err := iotest.TestReader(f, data); err != nil {
    		t.errorf("%s: failed TestReader:\n\t%s", file, strings.ReplaceAll(err.Error(), "\n", "\n\t"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/gccgoinstallation_test.go

    	"reflect",
    	"regexp",
    	"regexp/syntax",
    	"runtime/debug",
    	"runtime",
    	"runtime/pprof",
    	"sort",
    	"strconv",
    	"strings",
    	"sync/atomic",
    	"sync",
    	"syscall",
    	"testing",
    	"testing/iotest",
    	"testing/quick",
    	"text/scanner",
    	"text/tabwriter",
    	"text/template",
    	"text/template/parse",
    	"time",
    	"unicode",
    	"unicode/utf16",
    	"unicode/utf8",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 21 02:25:41 UTC 2021
    - 4K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    	}
    
    	// t3 imports p1, and changing X changes t3's test binary.
    	tg.grepStderr(`([\\/]compile|gccgo).*t3_test.go`, "did not recompile t3")
    	tg.grepStderr(`([\\/]link|gccgo).*t3\.test`, "did not relink t3_test")
    	tg.grepStderr(`t3\.test.*-test.short`, "did not rerun t3_test")
    	tg.grepStdoutNot(`ok  \tt/t3\t\(cached\)`, "reported cached t3_test result")
    
    	// t4 imports p2, but p2 did not change, so t4 should be relinked, not recompiled,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. src/io/example_test.go

    // Copyright 2015 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 io_test
    
    import (
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"strings"
    )
    
    func ExampleCopy() {
    	r := strings.NewReader("some io.Reader stream to be read\n")
    
    	if _, err := io.Copy(os.Stdout, r); err != nil {
    		log.Fatal(err)
    	}
    
    	// Output:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:32 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go

    			maxSeats:             10,
    			initialSeatsExpected: 10,
    		},
    		{
    			name:       "request verb is list, metadata.name specified",
    			requestURI: "http://server/apis/foo.bar/v1/events?fieldSelector=metadata.name%3Dtest",
    			requestInfo: &apirequest.RequestInfo{
    				Verb:     "list",
    				Name:     "test",
    				APIGroup: "foo.bar",
    				Resource: "events",
    			},
    			counts: map[string]int64{
    				"events.foo.bar": 799,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/net/http/requestwrite_test.go

    // license that can be found in the LICENSE file.
    
    package http
    
    import (
    	"bufio"
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"net/url"
    	"strings"
    	"testing"
    	"testing/iotest"
    	"time"
    )
    
    type reqWriteTest struct {
    	Req  Request
    	Body any // optional []byte or func() io.ReadCloser to populate Req.Body
    
    	// Any of these three may be empty to skip that test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

            }
    
            @Override
            String toString() {
                return descriptor.displayName
            }
    
            boolean isTest() {
                return descriptor instanceof TestOperationDescriptor
            }
    
            boolean isTestClassOrMethod() {
                return isTest() && (descriptor.className || descriptor.methodName)
            }
    
            boolean isTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/math/rand/rand_test.go

    package rand_test
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"math"
    	. "math/rand"
    	"os"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"testing/iotest"
    )
    
    const (
    	numTestSamples = 10000
    )
    
    var rn, kn, wn, fn = GetNormalDistributionParameters()
    var re, ke, we, fe = GetExponentialDistributionParameters()
    
    type statsResults struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/testing/iotest/reader_test.go

    // Copyright 2019 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 iotest
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"testing"
    )
    
    func TestOneByteReader_nonEmptyReader(t *testing.T) {
    	msg := "Hello, World!"
    	buf := new(bytes.Buffer)
    	buf.WriteString(msg)
    
    	obr := OneByteReader(buf)
    	var b []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 07:03:10 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. src/io/multi_test.go

    // Copyright 2010 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 io_test
    
    import (
    	"bytes"
    	"crypto/sha1"
    	"errors"
    	"fmt"
    	. "io"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestMultiReader(t *testing.T) {
    	var mr Reader
    	var buf []byte
    	nread := 0
    	withFooBar := func(tests func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:32 UTC 2022
    - 10K bytes
    - Viewed (0)
Back to top