- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 1,636 for _context (0.05 seconds)
-
internal/event/config_test.go
<Event>s3:ObjectRemoved:*</Event> </QueueConfiguration>`) queue3 := &Queue{} if err := xml.Unmarshal(data, queue3); err != nil { panic(err) } targetList1 := NewTargetList(t.Context()) targetList2 := NewTargetList(t.Context()) if err := targetList2.Add(&ExampleTarget{TargetID{"1", "webhook"}, false, false}); err != nil { panic(err) } testCases := []struct { queue *Queue region string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 28.9K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java
} private void buildFactories(AggregatorFactories.Builder factories) throws IOException { try (DummyAggregationContext context = new DummyAggregationContext(factories.bytesToPreallocate())) { factories.build(context, null).createTopLevelAggregators(); } } private class DummyAggregationContext extends AggregationContext {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 16 08:22:22 GMT 2021 - 12.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt
} private inline fun <T> assertOnFileDescriptor( content: String? = null, fn: (FileDescriptor) -> T, ): T = assertOnPath(content) { FileInputStream(filePath.toFile()).use { fis -> fn(fis.fd) } } private inline fun <T> assertOnPath( content: String? = null, fn: (okio.Path) -> T, ): T { FileSystem.SYSTEM.write(filePath) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 3.8K bytes - Click Count (1) -
internal/config/storageclass/storage-class.go
cfg.inlineBlock = 128 * humanize.KiByte } cfg.initialized = true return cfg, nil } func configLogOnceIf(ctx context.Context, err error, id string, errKind ...any) { logger.LogOnceIf(ctx, "config", err, id, errKind...)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md
如果你想了解在不同 FastAPI 版本中改了哪些內容,可以在進階指南中閱讀:[進階相依 — 含 `yield`、`HTTPException`、`except` 與背景任務的相依](../../advanced/advanced-dependencies.md#dependencies-with-yield-httpexception-except-and-background-tasks)。 ## 情境管理器 { #context-managers } ### 什麼是「情境管理器」 { #what-are-context-managers } 「情境管理器」是那些你可以在 `with` 陳述式中使用的 Python 物件。 例如,[你可以用 `with` 來讀取檔案](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 11.9K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeCollector.java
Type.CLASSPATH_JAR, Type.CLASSPATH_PROCESSOR, Type.MODULAR_JAR, Type.MODULAR_PROCESSOR); @Override public DependencyNode transformGraph(DependencyNode root, DependencyGraphTransformationContext context) throws RepositoryException { Map<String, String> processorTypes = null; for (DependencyNode child : root.getChildren()) { if (child.getArtifact() == null) { continue;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 3.6K bytes - Click Count (0) -
cmd/metacache-marker.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "fmt" "strconv" "strings" ) // markerTagVersion is the marker version. // Should not need to be updated unless a fundamental change is made to the marker format. const markerTagVersion = "v2"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.5K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
import okhttp3.logging.HttpLoggingInterceptor import okhttp3.logging.LoggingEventListener class Main : CliktCommand(name = NAME) { override val printHelpOnEmptyArgs = true override fun help(context: Context): String = "A curl for the next-generation web." val method: String? by option("-X", "--request").help("Specify request command to use") val data: String? by option("-d", "--data").help("HTTP POST data")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
* * @param tc * context to use */ public Type1Message(final CIFSContext tc) { this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName()); } /** * Creates a Type-1 message with the specified parameters. * * @param tc * context to use * @param flagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.8K bytes - Click Count (0) -
cmd/config-migrate.go
} // Load config from backend func Load(configFile string, data any) (quick.Config, error) { return quick.LoadConfig(configFile, globalEtcdClient, data) } func readConfigWithoutMigrate(ctx context.Context, objAPI ObjectLayer) (config.Config, error) { // Construct path to config.json for the given bucket. configFile := path.Join(minioConfigPrefix, minioConfigFile) configFiles := []string{ getConfigFile(),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.4K bytes - Click Count (0)