Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 369 for kAsync (0.12 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go

    					var context string
    					var where analysis.Range = e.async // Put the report at the go fun() or t.Run(name, fun).
    					if _, local := e.fun.(*ast.FuncLit); local {
    						where = call // Put the report at the t.Forbidden() call.
    					} else if id, ok := e.fun.(*ast.Ident); ok {
    						context = fmt.Sprintf(" (%s calls %s)", id.Name, forbidden)
    					}
    					if _, ok := e.async.(*ast.GoStmt); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. tests/test_annotated.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/default")
    async def default(foo: Annotated[str, Query()] = "foo"):
        return {"foo": foo}
    
    
    @app.get("/required")
    async def required(foo: Annotated[str, Query(min_length=1)]):
        return {"foo": foo}
    
    
    @app.get("/multiple")
    async def multiple(foo: Annotated[str, object(), Query(min_length=1)]):
        return {"foo": foo}
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    					// appears in outDatedDisks.
    					tamperedIndex = index
    					filePath := pathJoin(erasureDisks[index].String(), bucket, object, fi.DataDir, "part.1")
    					f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0)
    					if err != nil {
    						t.Fatalf("Failed to open %s: %s\n", filePath, err)
    					}
    					f.WriteString("oops") // Will cause bitrot error
    					f.Close()
    					break
    				}
    
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. docs/em/docs/how-to/sql-databases-peewee.md

    🤚 💲 🙆 🔘 🔑 (✅ 🙆 🍕 🚚 ⏮️ 📨) ⚙️:
    
    ```Python
    some_var.get()
    ```
    
    ### ⚒ 🔑 🔢 `async` 🔗 `reset_db_state()`
    
    🚥 🍕 🔁 📟 ⚒ 💲 ⏮️ `some_var.set("updated in function")` (✅ 💖 `async` 🔗), 🎂 📟 ⚫️ & 📟 👈 🚶 ⏮️ (✅ 📟 🔘 `async` 🔢 🤙 ⏮️ `await`) 🔜 👀 👈 🆕 💲.
    
    , 👆 💼, 🚥 👥 ⚒ 🏒 🇵🇸 🔢 (⏮️ 🔢 `dict`) `async` 🔗, 🌐 🎂 🔗 📟 👆 📱 🔜 👀 👉 💲 & 🔜 💪 ♻ ⚫️ 🎂 📨.
    
    & 🔑 🔢 🔜 ⚒ 🔄 ⏭ 📨, 🚥 👫 🛠️.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    		}
    	}
    	return pi, true
    }
    
    // startResync initiates resync of data to peerSite specified. The overall site resync status
    // is maintained in .minio.sys/buckets/site-replication/resync/<deployment-id.meta>, while collecting
    // individual bucket resync status in .minio.sys/buckets/<bucket-name>/replication/resync.bin
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  6. cmd/local-locker.go

    				// Unexpected  inconsistency, delete.
    				delete(l.lockUID, mapID)
    				idx++
    				continue
    			}
    			reply = true
    			l.removeEntry(resource, dsync.LockArgs{UID: args.UID}, &lris)
    			idx++
    		}
    	}
    }
    
    func (l *localLocker) Refresh(ctx context.Context, args dsync.LockArgs) (refreshed bool, err error) {
    	select {
    	case <-ctx.Done():
    		return false, ctx.Err()
    	default:
    		l.mutex.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. tests/test_param_include_in_schema.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/hidden_cookie")
    async def hidden_cookie(
        hidden_cookie: Optional[str] = Cookie(default=None, include_in_schema=False),
    ):
        return {"hidden_cookie": hidden_cookie}
    
    
    @app.get("/hidden_header")
    async def hidden_header(
        hidden_header: Optional[str] = Header(default=None, include_in_schema=False),
    ):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

            defaultProfiler,
            display = ParameterDisplay.PROMPT,
            allowEmpty = false,
            description = "Command line option for the performance test task to enable profiling. For example `async-profiler`, `async-profiler-heap`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only."
        )
    }
    
    object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

            def request2 = server.get("b").sendSomeAndBlock(new byte[2048])
            server.expect(request1)
            server.expect(request2)
            server.start()
    
            when:
            async {
                start {
                    succeeds("a")
                    instant.aDone
                    succeeds("b")
                }
                request1.waitUntilBlocked()
                instant.aBlocked
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

            def project = project("p1")
    
            createRootProject()
            def state = registry.stateFor(projectId("p1"))
            createProject(state, project)
    
            when:
            async {
                workerThread {
                    assert !state.hasMutableState()
                    state.applyToMutableState {
                        assert state.hasMutableState()
                        instant.start
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top