Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for idempotent (0.48 sec)

  1. src/go/printer/printer_test.go

    	{"slow.input", "slow.golden", idempotent},
    	{"complit.input", "complit.x", export},
    	{"go2numbers.input", "go2numbers.golden", idempotent},
    	{"go2numbers.input", "go2numbers.norm", normNumber | idempotent},
    	{"generics.input", "generics.golden", idempotent | allowTypeParams},
    	{"gobuild1.input", "gobuild1.golden", idempotent},
    	{"gobuild2.input", "gobuild2.golden", idempotent},
    	{"gobuild3.input", "gobuild3.golden", idempotent},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. src/cmd/gofmt/long_test.go

    	// the first and 2nd result should be identical
    	if !bytes.Equal(b1.Bytes(), b2.Bytes()) {
    		// A known instance of gofmt not being idempotent
    		// (see Issue #24472)
    		if strings.HasSuffix(filename, "issue22662.go") {
    			t.Log("known gofmt idempotency bug (Issue #24472)")
    			return
    		}
    		t.Errorf("gofmt %s not idempotent", filename)
    	}
    }
    
    func testFiles(t *testing.T, filenames <-chan string, done chan<- int) {
    	b1 := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 20:27:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultCancellationTokenSourceTest.groovy

    package org.gradle.tooling.internal.consumer
    
    import spock.lang.Specification
    
    class DefaultCancellationTokenSourceTest extends Specification {
        def source = new DefaultCancellationTokenSource()
    
        def 'token operation idempotent'() {
            when:
            def token1 = source.token()
            def token2 = source.token()
    
            then:
            token1 == token2
        }
    
        def 'can unpack token'() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/ModelRuleDescriptor.java

    /**
     * Describes a method rule.
     * All implementations of this class are expected to implement the equals and hashCode method
     */
    public interface ModelRuleDescriptor {
        /**
         * This method is expected to be idempotent.
         *
         * @param appendable where to write the description to.
         */
        void describeTo(Appendable appendable);
    
        ModelRuleDescriptor append(ModelRuleDescriptor child);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:38:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/expressionInfoProvider/AbstractReturnTargetSymbolTest.kt

                        expression.returnedExpression?.accept(this)
                    }
    
                    override fun visitComment(comment: PsiComment) {
                        // Skip such comments so that test become idempotent
                        if (comment.text.matches(commentRegex)) return
                        super.visitComment(comment)
                    }
                })
            }
            if (actual != original) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. pkg/volume/volume.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    )
    
    // Volume represents a directory used by pods or hosts on a node. All method
    // implementations of methods in the volume interface must be idempotent.
    type Volume interface {
    	// GetPath returns the path to which the volume should be mounted for the
    	// pod.
    	GetPath() string
    
    	// MetricsProvider embeds methods for exposing metrics (e.g.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_386.go

    func Or64(ptr *uint64, val uint64) uint64
    
    //go:noescape
    func Anduintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    func Oruintptr(ptr *uintptr, val uintptr) uintptr
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func Cas64(ptr *uint64, old, new uint64) bool
    
    //go:noescape
    func CasRel(ptr *uint32, old, new uint32) bool
    
    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/GradleModuleMetadataWriter.java

     * <li>Add a sample for the module metadata serializer test, to make sure that serialized metadata is idempotent</li>
     * </ul>
     */
    public class GradleModuleMetadataWriter {
        private final BuildInvocationScopeId buildInvocationScopeId;
        private final ChecksumService checksumService;
    
        public GradleModuleMetadataWriter(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 22:10:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_ppc64x.go

    //go:noescape
    func LoadAcquintptr(ptr *uintptr) uintptr
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_mips64x.go

    //go:noescape
    func LoadAcquintptr(ptr *uintptr) uintptr
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top