Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for repeats (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependencies/HtmlDependencyReportTask.java

        public DependencyReportContainer reports(Closure closure) {
            return reports(new ClosureBackedAction<>(closure));
        }
    
        @Override
        public DependencyReportContainer reports(Action<? super DependencyReportContainer> configureAction) {
            configureAction.execute(reports);
            return reports;
        }
    
        @Inject
        protected ObjectFactory getObjectFactory() {
            throw new UnsupportedOperationException();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTestUtil.kt

        ): String = buildString {
            fun visitValue(valueNode: ValueNode, indent: Int) {
                append(" ".repeat(indent * 4))
                append(valueFormatter(valueNode))
            }
    
            fun visitDocumentNode(documentNode: DocumentNode, indent: Int) {
                append(" ".repeat(indent * 4))
                append(nodeFormatter(documentNode))
                when (documentNode) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/build.gradle.kts

            errorprone.enabled = false
        }
    }
    
    val reports by configurations.creating
    val flamegraph by configurations.creating
    configurations.compileOnly { extendsFrom(flamegraph) }
    
    repositories {
        googleApisJs()
    }
    
    dependencies {
        reports("jquery:jquery.min:3.5.1@js")
        reports("flot:flot:0.8.1:min@js")
    
        api(project(":base-services"))
        api(project(":core"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    }
    
    // HeaderValuesContainsToken reports whether any string in values
    // contains the provided token, ASCII case-insensitively.
    func HeaderValuesContainsToken(values []string, token string) bool {
    	for _, v := range values {
    		if headerValueContainsToken(v, token) {
    			return true
    		}
    	}
    	return false
    }
    
    // isOWS reports whether b is an optional whitespace byte, as defined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top