Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 467 for repeats (0.16 sec)

  1. src/archive/tar/writer_test.go

    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheKeyIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun "help", "--offline"
            then:
            configurationCache.assertStateStored()
    
            // Now repeat invocations in different order to make sure both entries can be reused
            when:
            configurationCacheRun "help"
            then:
            configurationCache.assertStateLoaded()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // +listType=atomic
      // +optional
      repeated NamedRuleWithOperations resourceRules = 3;
    
      // ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about.
      // The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
      // +listType=atomic
      // +optional
      repeated NamedRuleWithOperations excludeResourceRules = 4;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. 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)
  5. pkg/probe/exec/exec_test.go

    }
    
    func (f *fakeExitError) ExitStatus() int {
    	return f.statusCode
    }
    
    func TestExec(t *testing.T) {
    	prober := New()
    
    	tenKilobyte := strings.Repeat("logs-123", 128*10)      // 8*128*10=10240 = 10KB of text.
    	elevenKilobyte := strings.Repeat("logs-123", 8*128*11) // 8*128*11=11264 = 11KB of text.
    
    	tests := []struct {
    		expectedStatus   probe.Result
    		expectError      bool
    		execProbeTimeout bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoUtils.kt

        val visitedIdentity = mutableSetOf<OperationId>()
    
        fun StringBuilder.recurse(current: ObjectReflection, depth: Int) {
            fun indent() = "    ".repeat(depth)
            fun nextIndent() = "    ".repeat(depth + 1)
            when (current) {
                is ObjectReflection.ConstantValue -> append(
                    if (current.type is DataType.StringDataType)
                        "\"${current.value}\""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. pkg/kubelet/network/dns/dns_test.go

    		// 2048 = 128 + 127 * 15 + 15
    		strings.Repeat("A", 128),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_test.go

    	}
    	rb.Write([]byte(strings.Repeat("abcd", 15)))
    
    	if !bytes.Equal(rb.Bytes(nil), []byte("bcd"+strings.Repeat("abcd", 15))) {
    		t.Fatalf("expect 63 ... but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r)
    	}
    
    	rb.Reset()
    	n, err = rb.Write([]byte(strings.Repeat("abcd", 16)))
    	if err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    	if n != 64 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. pkg/util/tail/tail_test.go

    			expected:      "a",
    		},
    		{
    			name:          "the file length is longer than max and contains newlines",
    			max:           blockSize,
    			longerThanMax: true,
    			expected:      strings.Repeat("a", blockSize/2-1) + "\n" + strings.Repeat("a", blockSize/2),
    		},
    		{
    			name:          "the max is longer than file length ",
    			max:           4613,
    			longerThanMax: false,
    			expected:      string(testBytes),
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/syscall/dirent_test.go

    		name := string(bytes.Repeat([]byte{c}, filenameMinSize+i))
    		err := os.WriteFile(filepath.Join(d, name), nil, 0644)
    		if err != nil {
    			t.Fatalf("writefile: %v", err)
    		}
    	}
    
    	names := make([]string, 0, 10)
    
    	fd, err := syscall.Open(d, syscall.O_RDONLY, 0)
    	if err != nil {
    		t.Fatalf("syscall.open: %v", err)
    	}
    	defer syscall.Close(fd)
    
    	buf := bytes.Repeat([]byte{0xCD}, direntBufSize)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top