Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 619 for reveal (0.31 sec)

  1. src/strings/replace_test.go

    	benchmarkSingleString(b, Repeat("b", 25), Repeat("a", 10000))
    }
    
    func BenchmarkSingleLongSuffixFail(b *testing.B) {
    	benchmarkSingleString(b, "b"+Repeat("a", 500), Repeat("a", 1002))
    }
    
    func BenchmarkSingleMatch(b *testing.B) {
    	benchmarkSingleString(b, "abcdef", Repeat("abcdefghijklmno", 1000))
    }
    
    func BenchmarkByteByteNoMatch(b *testing.B) {
    	str := Repeat("A", 100) + Repeat("B", 100)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
  2. src/mime/quotedprintable/writer_test.go

    			want: strings.Repeat("a", 74) + "=\r\n=3D",
    		},
    		{
    			in:   strings.Repeat("a", 75) + "=",
    			want: strings.Repeat("a", 75) + "=\r\n=3D",
    		},
    		{
    			in:   strings.Repeat(" ", 73),
    			want: strings.Repeat(" ", 72) + "=20",
    		},
    		{
    			in:   strings.Repeat(" ", 74),
    			want: strings.Repeat(" ", 73) + "=\r\n=20",
    		},
    		{
    			in:   strings.Repeat(" ", 75),
    			want: strings.Repeat(" ", 74) + "=\r\n=20",
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. istioctl/pkg/injector/injector-list.go

    	}
    	for _, pod := range pods.Items {
    		retval[resource.Namespace(pod.GetNamespace())] = append(retval[resource.Namespace(pod.GetNamespace())], pod)
    	}
    	return retval, nil
    }
    
    // getInjectedImages() returns a map of revision->dockerimage
    func getInjectedImages(ctx context.Context, client kube.CLIClient) (map[string]string, error) {
    	retval := map[string]string{}
    
    	// All configs in all namespaces that are Istio revisioned
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/stringconcat.go

    package main
    
    import "strings"
    
    func init() {
    	register("stringconcat", stringconcat)
    }
    
    func stringconcat() {
    	s0 := strings.Repeat("0", 1<<10)
    	s1 := strings.Repeat("1", 1<<10)
    	s2 := strings.Repeat("2", 1<<10)
    	s3 := strings.Repeat("3", 1<<10)
    	s := s0 + s1 + s2 + s3
    	panic(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 443 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/limit_test.go

    		if testing.Short() {
    			t.Skip("skipping expensive test")
    		}
    		yamlBody := []byte(fmt.Sprintf(`
    	apiVersion: %s
    	kind: %s
    	metadata:
    	  name: test
    	values: `+strings.Repeat("[", 3*1024*1024/2-500)+strings.Repeat("]", 3*1024*1024/2-500), apiVersion, kind))
    
    		_, err := rest.Post().
    			SetHeader("Accept", "application/yaml").
    			SetHeader("Content-Type", "application/yaml").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 8K bytes
    - Viewed (0)
  6. internal/ringbuffer/ring_buffer_benchmark_test.go

    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	go func() {
    		for {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_s390x.s

    	MOVD	ptr+0(FP), R4
    	MOVW	delta+8(FP), R5
    	MOVW	(R4), R3
    repeat:
    	ADD	R5, R3, R6
    	CS	R3, R6, (R4) // if R3==(R4) then (R4)=R6 else R3=(R4)
    	BNE	repeat
    	MOVW	R6, ret+16(FP)
    	RET
    
    // func Xadd64(ptr *uint64, delta int64) uint64
    TEXT ·Xadd64(SB), NOSPLIT, $0-24
    	MOVD	ptr+0(FP), R4
    	MOVD	delta+8(FP), R5
    	MOVD	(R4), R3
    repeat:
    	ADD	R5, R3, R6
    	CSG	R3, R6, (R4) // if R3==(R4) then (R4)=R6 else R3=(R4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/mime/encodedword_test.go

    		{QEncoding, utf8, strings.Repeat("é", 10), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?="},
    		{QEncoding, utf8, strings.Repeat("é", 11), "=?utf-8?q?" + strings.Repeat("=C3=A9", 10) + "?= =?utf-8?q?=C3=A9?="},
    		{QEncoding, iso88591, strings.Repeat("\xe9", 22), "=?iso-8859-1?q?" + strings.Repeat("=E9", 22) + "?="},
    		{QEncoding, utf8, strings.Repeat("\x80", 22), "=?utf-8?q?" + strings.Repeat("=80", 21) + "?= =?utf-8?q?=80?="},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 7K bytes
    - Viewed (0)
  9. src/cmd/internal/gcprog/gcprog.go

    	// flushing the current bits plus at least one byte for
    	// the repeat size and one for the repeat count.
    	return c > 1 && c*n > 4*8
    }
    
    // Repeat emits an instruction to repeat the description
    // of the last n words c times (including the initial description, c+1 times in total).
    func (w *Writer) Repeat(n, c int64) {
    	if n == 0 || c == 0 {
    		return
    	}
    	w.flushlit()
    	if w.debug != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

            this.handle = handle;
            MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
    
        @Override
        public synchronized void close () throws IOException {
            if ( this.opened ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
Back to top