- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 534 for Prefix (0.05 seconds)
-
tests/serializer_test.go
return "hello" + string(es), nil } type CustomSerializer struct { prefix []byte } func NewCustomSerializer(prefix string) *CustomSerializer { return &CustomSerializer{prefix: []byte(prefix)} } func (c *CustomSerializer) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts
fun createQuickFeedbackTasks() { val testType = TestType.CROSSVERSION val defaultExecuter = "embedded" val prefix = testType.prefix testType.executers.forEach { executer -> val taskName = "$executer${prefix.capitalize()}Test" val testTask = createTestTask(taskName, executer, sourceSet, testType) { this.setSystemPropertiesOfTestJVM("latest")
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Sep 05 02:31:24 GMT 2025 - 4.5K bytes - Click Count (0) -
cmd/batch-expire_gen.go
return } case "Bucket": z.Bucket, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Bucket") return } case "Prefix": err = z.Prefix.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Prefix") return } case "NotificationCfg": err = z.NotificationCfg.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "NotificationCfg") return
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
tests/test_ws_dependencies.py
await websocket.send_text(json.dumps(deps)) await websocket.close() app.include_router(router, dependencies=[create_dependency("router2")]) app.include_router( prefix_router, prefix="/prefix", dependencies=[create_dependency("prefix_router2")] ) def test_index(): client = TestClient(app) with client.websocket_connect("/") as websocket: data = json.loads(websocket.receive_text())
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.1K bytes - Click Count (0) -
src/README.vendor
imported normally and vendored by the standard library. Vendored packages are internally renamed with a "vendor/" prefix to preserve the invariant that all packages have distinct paths. This is necessary to avoid compiler and linker conflicts. Adding a "vendor/" prefix also maintains the invariant that standard library packages begin with a dotless path element.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Sep 30 19:15:39 GMT 2024 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashing.java
} /** Returns the hash prefix given the current mask. */ static int getHashPrefix(int value, int mask) { return value & ~mask; } /** Returns the index, or 0 if the entry is "null". */ static int getNext(int entry, int mask) { return entry & mask; } /** Returns a new value combining the prefix and suffix using the given mask. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
public static class ImmutableListTailSubListGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) { String[] prefix = {"f", "g"}; String[] all = new String[elements.length + prefix.length]; arraycopy(prefix, 0, all, 0, 2); arraycopy(elements, 0, all, 2, elements.length); return ImmutableList.copyOf(all).subList(2, elements.length + 2); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5K bytes - Click Count (0) -
cmd/utils.go
} err = werr } } // stringsHasPrefixFold tests whether the string s begins with prefix ignoring case. func stringsHasPrefixFold(s, prefix string) bool { // Test match with case first. return len(s) >= len(prefix) && (s[0:len(prefix)] == prefix || strings.EqualFold(s[0:len(prefix)], prefix)) } func ptr[T any](a T) *T { return &a }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts
generateDefaultAutoTestedSamplesTest.convention(true) testJvmXmx.convention("512m") } val sourceSet = sourceSets.create("${TestType.INTEGRATION.prefix}Test") jvmCompile { addCompilationFrom(sourceSet) } addDependenciesAndConfigurations(TestType.INTEGRATION.prefix) configurations.named("integTestRuntimeClasspath") { // The InProcessGradleExecuter and the BuildOperationsFixture currently expect the
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 18 16:39:23 GMT 2025 - 2.4K bytes - Click Count (5) -
docs/en/docs/tutorial/bigger-applications.md
As the path of each *path operation* has to start with `/`, like in: ```Python hl_lines="1" @router.get("/{item_id}") async def read_item(item_id: str): ... ``` ...the prefix must not include a final `/`. So, the prefix in this case is `/items`. We can also add a list of `tags` and extra `responses` that will be applied to all the *path operations* included in this router.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 18.6K bytes - Click Count (0)