Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 3,313 for Yield (0.07 sec)

  1. src/vendor/golang.org/x/crypto/sha3/shake.go

    // N is used to define functions based on cSHAKE, it can be empty when plain cSHAKE is
    // desired. S is a customization byte string used for domain separation - two cSHAKE
    // computations on same input with different S yield unrelated outputs.
    // When N and S are both empty, this is equivalent to NewShake128.
    func NewCShake128(N, S []byte) ShakeHash {
    	if len(N) == 0 && len(S) == 0 {
    		return NewShake128()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. cni/pkg/install/install.go

    	// at this moment, and if not, yield. This is to catch other CNIs which might have mutated the file between
    	// the (theoretical) window after we initially install/write, but before we actually start the filewatch.
    	if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil {
    		return nil
    	}
    
    	// If a file we are watching has a change event, yield and let caller check validity
    	select {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/JavaExecutableUtils.java

            if (!executableFile.isAbsolute()) {
                DeprecationLogger.deprecateBehaviour("Configuring a Java executable via a relative path.")
                        .withContext("Resolving relative file paths might yield unexpected results, there is no single clear location it would make sense to resolve against.")
                        .withAdvice("Configure an absolute path to a Java executable instead.")
                        .willBecomeAnErrorInGradle9()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

        get() = sequence {
    
            yield(this@ancestorClassesIncludingSelf)
    
            var superclass: Class<*>? = superclass
            while (superclass != null) {
                val thisSuperclass: Class<*> = superclass
                val nextSuperclass = thisSuperclass.superclass
                if (nextSuperclass != null) { // skip java.lang.Object
                    yield(thisSuperclass)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/AntBuilder.java

         * The transformer may be called multiple times with the same input.
         * Implementations should ensure uniqueness of the return value for a distinct input.
         * That is, no two inputs should yield the same return value.
         *
         * @param antBuildFile The build file. This is resolved as per {@link org.gradle.api.Project#file(Object)}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:15 UTC 2022
    - 7K bytes
    - Viewed (0)
  6. src/fmt/doc.go

    will use arguments n+1, n+2, etc. unless otherwise directed.
    
    For example,
    
    	fmt.Sprintf("%[2]d %[1]d\n", 11, 22)
    
    will yield "22 11", while
    
    	fmt.Sprintf("%[3]*.[2]*[1]f", 12.0, 2, 6)
    
    equivalent to
    
    	fmt.Sprintf("%6.2f", 12.0)
    
    will yield " 12.00". Because an explicit index affects subsequent verbs,
    this notation can be used to print the same values multiple times
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. test/rangegen.go

    	if verbose {
    		println("did", "%[3]s", "%[4]s", len(all))
    	}
    }
    `
    
    var mainCode = `
    
    func main() {
    	if verbose {
    		println("main")
    	}
    	%s
    }
    
    func yield2(yield func(int)bool) { _ = yield(1) && yield(2) }
    var slice2 = []int{1,2}
    
    type output struct {
    	ret int
    	trace []any
    }
    
    func (o *output) log(x any) {
    	o.trace = append(o.trace, x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 23:35:19 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/middleware.md

    * โšซ๏ธ ๐Ÿ’ช โคด๏ธ ๐Ÿ•ณ ๐Ÿ‘ˆ **๐Ÿ“จ** โš–๏ธ ๐Ÿƒ ๐Ÿ™† ๐Ÿ’ช ๐Ÿ“Ÿ.
    * โคด๏ธ โšซ๏ธ ๐Ÿšถโ€โ™€๏ธ **๐Ÿ“จ** ๐Ÿ› ๏ธ ๐ŸŽ‚ ๐Ÿˆธ ( *โžก ๐Ÿ› ๏ธ*).
    * โšซ๏ธ โคด๏ธ โœŠ **๐Ÿ“จ** ๐Ÿ— ๐Ÿˆธ ( *โžก ๐Ÿ› ๏ธ*).
    * โšซ๏ธ ๐Ÿ’ช ๐Ÿ•ณ ๐Ÿ‘ˆ **๐Ÿ“จ** โš–๏ธ ๐Ÿƒ ๐Ÿ™† ๐Ÿ’ช ๐Ÿ“Ÿ.
    * โคด๏ธ โšซ๏ธ ๐Ÿ“จ **๐Ÿ“จ**.
    
    !!! note "๐Ÿ“ก โ„น"
        ๐Ÿšฅ ๐Ÿ‘† โœ”๏ธ ๐Ÿ”— โฎ๏ธ `yield`, ๐Ÿšช ๐Ÿ“Ÿ ๐Ÿ”œ ๐Ÿƒ *โฎ๏ธ* ๐Ÿ› ๏ธ.
    
        ๐Ÿšฅ ๐Ÿ“ค ๐Ÿ™† ๐Ÿ–ฅ ๐Ÿ“‹ (๐Ÿ“„ โช), ๐Ÿ‘ซ ๐Ÿ”œ ๐Ÿƒ *โฎ๏ธ* ๐ŸŒ ๐Ÿ› ๏ธ.
    
    ## โœ ๐Ÿ› ๏ธ
    
    โœ ๐Ÿ› ๏ธ ๐Ÿ‘† โš™๏ธ ๐Ÿ‘จโ€๐ŸŽจ `@app.middleware("http")` ๐Ÿ”› ๐Ÿ” ๐Ÿ”ข.
    
    ๐Ÿ› ๏ธ ๐Ÿ”ข ๐Ÿ“จ:
    
    *  `request`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. tests/test_router_events.py

    
    def test_app_lifespan_state(state: State) -> None:
        @asynccontextmanager
        async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
            state.app_startup = True
            yield
            state.app_shutdown = True
    
        app = FastAPI(lifespan=lifespan)
    
        @app.get("/")
        def main() -> Dict[str, str]:
            return {"message": "Hello World"}
    
        assert state.app_startup is False
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/reflect/iter_test.go

    				}
    				m[v.Int()] = true
    				i++
    			}
    			if i != 3 {
    				t.Fatalf("should loop three times")
    			}
    		}},
    		{"func", ValueOf(func(yield func(int) bool) {
    			for i := range 4 {
    				if !yield(i) {
    					return
    				}
    			}
    		}), func(t *testing.T, s iter.Seq[Value]) {
    			i := int64(0)
    			for v := range s {
    				if v.Int() != i {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top