Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 191 for idempotent (0.23 sec)

  1. src/go/printer/testdata/comments2.golden

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This is a package for testing comment placement by go/printer.
    package main
    
    // Test cases for idempotent comment formatting (was issue 1835).
    /*
    c1a
    */
    /*
       c1b
    */
    /* foo
    c1c
    */
    /* foo
       c1d
    */
    /*
    c1e
    foo */
    /*
       c1f
       foo */
    
    func f() {
    	/*
    	   c2a
    	*/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. src/go/printer/testdata/comments2.input

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This is a package for testing comment placement by go/printer.
    //
    package main
    
    // Test cases for idempotent comment formatting (was issue 1835).
    /*
    c1a
    */
    /*
       c1b
    */
    /* foo
    c1c
    */
    /* foo
       c1d
    */
    /*
    c1e
    foo */
    /*
       c1f
       foo */
    
    func f() {
    /*
    c2a
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 00:06:54 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/internal/runtime/atomic/atomic_s390x.go

    func StoreReluintptr(ptr *uintptr, val uintptr) {
    	*ptr = val
    }
    
    //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.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultRealizableTaskCollectionTest.groovy

            collection.visitDependencies(Stub(TaskDependencyResolveContext))
    
            then:
            registry.state("tasks.redundant") == ModelNode.State.Discovered
        }
    
        def "realize is idempotent"() {
            given:
            ModelRegistryHelper registry = new ModelRegistryHelper()
            ModelPath path = ModelPath.path("tasks")
    
            registry.registerInstance("tasks", "foo tasks")
                .mutate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 22 12:57:17 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  7. src/go/printer/performance_test.go

    	if err != nil {
    		log.Fatalf("%s", err)
    	}
    
    	var buf bytes.Buffer
    	testprint(&buf, file)
    	if !bytes.Equal(buf.Bytes(), src) {
    		log.Fatalf("print error: %s not idempotent", filename)
    	}
    
    	fileNode = file
    	fileSize = int64(len(src))
    
    	for _, decl := range file.Decls {
    		// The first global variable, which is pretty short:
    		//
    		//	var unresolved = new(ast.Object)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:10:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_amd64.go

    //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: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * the listeners can be delayed slightly so that locks can be dropped. Also, because {@link
     * #dispatch} is expected to be called concurrently, it is idempotent.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class ListenerCallQueue<L> {
      // TODO(cpovirk): consider using the logger associated with listener.getClass().
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_loong64.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)
    
    //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)
Back to top