Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 828 for Initial (0.11 sec)

  1. platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/CharSequenceExtensions.kt

    package org.gradle.internal.extensions.stdlib
    
    import java.util.Locale
    
    
    fun CharSequence.capitalized(): String =
        when {
            isEmpty() -> ""
            else -> get(0).let { initial ->
                when {
                    initial.isLowerCase() -> initial.titlecase(Locale.getDefault()) + substring(1)
                    else -> toString()
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 985 bytes
    - Viewed (0)
  2. platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/configurationcache/extensions/CharSequenceExtensions.kt

    )
    fun CharSequence.capitalized(): String =
        when {
            isEmpty() -> ""
            else -> get(0).let { initial ->
                when {
                    initial.isLowerCase() -> initial.titlecase(Locale.getDefault()) + substring(1)
                    else -> toString()
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

            def calculatedValue = state1.newCalculatedValue("initial")
    
            when:
            calculatedValue.update { throw new RuntimeException() }
    
            then:
            thrown(IllegalStateException)
            calculatedValue.get() == "initial"
    
            when:
            state1.applyToMutableState {
                calculatedValue.update {
                    assert it == "initial"
                    "updated"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. cmd/leak-detect_test.go

    	}
    	return snapshot
    }
    
    // CompareCurrentSnapshot - Compares the initial relevant stack trace with the current one (during the time of invocation).
    func (initialSnapShot LeakDetect) CompareCurrentSnapshot() []string {
    	var stackDiff []string
    	for _, g := range pickRelevantGoroutines() {
    		// Identify the Go routines those were not present in the initial snapshot.
    		// In other words a stack diff.
    		if !initialSnapShot.relevantRoutines[g] {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/NestedSourceDependencyIdentityIntegrationTest.groovy

            """
            repoC.file("build.gradle") << """
                dependencies { implementation "test:test:1.2" }
            """
            repoC.commit("initial version")
            repoC.createLightWeightTag("1.2")
    
            dependency(dependencyName)
            repoB.commit("initial version")
            repoB.createLightWeightTag("1.2")
    
            when:
            fails(":assemble")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. test/typeparam/issue51925.go

    package main
    
    import "fmt"
    
    type IntLike interface {
    	~int | ~int64 | ~int32 | ~int16 | ~int8
    }
    
    func Reduce[T any, U any, Uslice ~[]U](function func(T, U) T, sequence Uslice, initial T) T {
    	result := initial
    	for _, x := range sequence {
    		result = function(result, x)
    	}
    	return result
    }
    
    func min[T IntLike](x, y T) T {
    	if x < y {
    		return x
    	}
    	return y
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 963 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go

    	second, secondBody, _ := fetchPath(manager, "application/json", discoveryPath, initial.Header.Get("ETag"))
    
    	assert.Equal(t, http.StatusOK, initial.StatusCode, "initial response should be 200 OK")
    	assert.Equal(t, http.StatusOK, second.StatusCode, "second response should be 304 Not Modified")
    	assert.NotEqual(t, initial.Header.Get("ETag"), second.Header.Get("ETag"), "ETag of both requests should be unequal since contents differ")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy

        }
    
        @SuppressWarnings("GrMethodMayBeStatic")
        void noMoreInteractions() {
            _ * _.pathToParent
            0 * _
        }
    
        /**
         * Different lists of relative paths of the initial children of the node under test.
         */
        static final INITIAL_CHILD_CONSTELLATIONS = [
            ['name'],
            ['name', 'name1'],
            ['name', 'name1', 'name12'],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. cluster/gce/manifests/etcd.manifest

    --listen-peer-urls {{ etcd_protocol }}://{{ host_ip }}:{{ server_port }} --initial-advertise-peer-urls {{ etcd_protocol }}://{{ hostname }}:{{ server_port }} --advertise-client-urls {{ etcd_apiserver_protocol }}://127.0.0.1:{{ port }} --listen-client-urls {{ etcd_apiserver_protocol }}://{{ listen_client_ip }}:{{ port }} {{ quota_bytes }} --data-dir /var/etcd/data{{ suffix }} --initial-cluster-state {{ cluster_state }} --initial-cluster {{ etcd_cluster }} {{ etcd_creds }} {{ etcd_apiserver_creds }} {{...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingLenientModeIntegrationTest.groovy

        @Override
        LockMode lockMode() {
            return LockMode.LENIENT
        }
    
        def 'does not fail when lock file conflicts with declared strict constraint (initial unique: #unique)'() {
            given:
            mavenRepo.module('org', 'foo', '1.0').publish()
            mavenRepo.module('org', 'foo', '1.1').publish()
    
            buildFile << """
    dependencyLocking {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top