Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 711 for recurse (0.37 sec)

  1. test/uintptrescapes.dir/a.go

    package a
    
    import (
    	"unsafe"
    )
    
    func recurse(i int, s []byte) byte {
    	s[0] = byte(i)
    	if i == 0 {
    		return s[i]
    	} else {
    		var a [1024]byte
    		r := recurse(i-1, a[:])
    		return r + a[0]
    	}
    }
    
    //go:uintptrescapes
    func F1(a uintptr) {
    	var s [16]byte
    	recurse(4096, s[:])
    	*(*int)(unsafe.Pointer(a)) = 42
    }
    
    //go:uintptrescapes
    func F2(a ...uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 06 20:48:41 UTC 2016
    - 879 bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationUtils.java

            class Recurse {
                void recurse(Element annotatedElement) {
                    annotatedElement.getAnnotationMirrors().forEach(annotationMirror -> {
                        Element element = annotationMirror.getAnnotationType().asElement();
                        if (element instanceof TypeElement && result.add(annotationMirror)) {
                            recurse(element);
                        }
                    });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 08:22:43 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt

                else -> { error("Unhandled language result type: ${current.javaClass.simpleName}") }
            }
        }
        return buildString { recurse(languageResult, startDepth) }
    }
    
    
    fun prettyPrintLanguageTree(languageTreeElement: LanguageTreeElement): String {
        fun StringBuilder.recurse(current: LanguageTreeElement, depth: Int) {
            fun indent() = "    ".repeat(depth)
            fun nextIndent() = "    ".repeat(depth + 1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue40954.go

    	// to be the address of i.
    	// v is also the address of i.
    	// p has a base type which is marked not-in-heap, so it
    	// should not be adjusted when the stack is copied.
    	recurse(100, p, v)
    }
    func recurse(n int, p *S, v uintptr) {
    	if n > 0 {
    		recurse(n-1, p, v)
    	}
    	if uintptr(unsafe.Pointer(p)) != v {
    		panic("adjusted notinheap pointer")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 15:27:18 UTC 2022
    - 874 bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoUtils.kt

                            append(nextIndent() + it.key.name + " = ")
                            recurse(it.value.value, depth + 1)
                            append("\n")
                        }
                        current.addedObjects.forEach {
                            append("${nextIndent()}+ ")
                            recurse(it, depth + 1)
                            append("\n")
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
      private boolean timeFindCaller(int reps, int recurse) {
        return recurse > 0 ? timeFindCaller(reps, recurse - 1) : mode.timeIt(reps, breakAt);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
      private boolean timeFindCaller(int reps, int recurse) {
        return recurse > 0 ? timeFindCaller(reps, recurse - 1) : mode.timeIt(reps, breakAt);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "newPrefix0", "newPrefix0", nil},
    		{testBuckets[0], "newPrefix1", "newPrefix1", nil},
    		{testBuckets[0], "newzen/zen/recurse/again/again/again/pics", "recurse", nil},
    		{testBuckets[0], "obj0", "obj0", nil},
    		{testBuckets[0], "obj1", "obj1", nil},
    		{testBuckets[0], "obj2", "obj2", nil},
    		{testBuckets[1], "obj1", "obj1", nil},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue9432.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // gc used to recurse infinitely when dowidth is applied
    // to a broken recursive type again.
    // See golang.org/issue/9432.
    package p
    
    type foo struct { // ERROR "invalid recursive type|cycle"
    	bar  foo
    	blah foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 390 bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

                def found = [] as List<Operation>
                def recurse
                recurse = { List<Operation> children ->
                    children.each { child ->
                        if (filter.isSatisfiedBy(child)) {
                            found << child
                        }
                        recurse child.children
                    }
                }
                recurse children
                found
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top