- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 5,086 for Strings (0.06 sec)
-
cmd/os_unix.go
continue } typ = fi.Mode() & os.ModeType } var nameStr string if typ.IsRegular() { nameStr = string(name) } else if typ.IsDir() { // Use temp buffer to append a slash to avoid string concat. tmp = tmp[:len(name)+1] copy(tmp, name) tmp[len(tmp)-1] = '/' // SlashSeparator nameStr = string(tmp) } count-- entries = append(entries, nameStr) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
int componentLength; private Iterable<String> components; @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { String component = Strings.repeat("a", componentLength); String[] raw = new String[count]; Arrays.fill(raw, component); components = Arrays.asList(raw); } /** {@link Joiner} with a string delimiter. */ @Benchmark
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(0x04, buffer[0] & 0xFF, "First byte must be SMB_COM_QUERY_INFORMATION type 0x04"); // Verify that the string part ends with the null terminator assertArrayEquals(expectedString, subArray(buffer, 1, expectedString.length)); assertEquals(0, buffer[1 + expectedString.length], "String must be null terminated"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
```JSON {"item_id":3} ``` /// check Notice that the value your function received (and returned) is `3`, as a Python `int`, not a string `"3"`. So, with that type declaration, **FastAPI** gives you automatic request <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>. /// ## Data validation { #data-validation }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
assertEquals(testSharename, msrpcShareGetInfo.sharename); } @ParameterizedTest @NullAndEmptySource @ValueSource(strings = { "", "share1", "\\\\server\\share", "C$", "ADMIN$", "IPC$" }) void testConstructorWithDifferentSharenames(String sharename) { // Test with various sharename values MsrpcShareGetInfo shareGetInfo = new MsrpcShareGetInfo(testServer, sharename);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
cmd/admin-handlers-pools.go
if err != nil { writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL) return } buckets := make([]string, 0, len(bucketInfos)) for _, bInfo := range bucketInfos { buckets = append(buckets, bInfo.Name) } var id string if id, err = pools.initRebalanceMeta(ctx, buckets); err != nil { writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL) return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 04 20:47:24 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
} @ParameterizedTest(name = "{displayName}({arguments})") @ValueSource(strings = ["TLSv1.2", "TLSv1.3"]) @Flaky fun testSessionReuse(tlsVersion: String) { if (tlsVersion == TlsVersion.TLS_1_3.javaName) { assumeTrue(PlatformVersion.majorVersion != 8) } val sessionIds = mutableListOf<String>() enableTls() val tlsVersion = TlsVersion.forJavaName(tlsVersion) val spec =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (1) -
docs/pt/docs/tutorial/path-operation-configuration.md
Nestes casos, pode fazer sentido armazenar as tags em um `Enum`. **FastAPI** suporta isso da mesma maneira que com strings simples: {* ../../docs_src/path_operation_configuration/tutorial002b.py hl[1,8:10,13,18] *} ## Resumo e descrição Você pode adicionar um `summary` e uma `description`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
/** * Returns a serializable {@code Converter} that converts strings from this format to {@code * targetFormat}. * * @since 16.0 */ public Converter<String, String> converterTo(CaseFormat targetFormat) { return new StringConverter(this, targetFormat); } private static final class StringConverter extends Converter<String, String> implements Serializable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 6.5K bytes - Viewed (0) -
cmd/bucket-replication.go
meta[xhttp.AmzBucketReplicationStatus] = replication.Replica.String() return meta } type caseInsensitiveMap map[string]string // Lookup map entry case insensitively. func (m caseInsensitiveMap) Lookup(key string) (string, bool) { if len(m) == 0 { return "", false } for _, k := range []string{ key, strings.ToLower(key), http.CanonicalHeaderKey(key), } { v, ok := m[k]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118K bytes - Viewed (0)