- Sort Score
- Result 10 results
- Languages All
Results 3091 - 3100 of 6,150 for string (0.08 sec)
-
cmd/metacache-entries_test.go
if !reflect.DeepEqual(want, got) { t.Errorf("got unexpected result: %#v", got) } } func Test_metaCacheEntry_isInDir(t *testing.T) { tests := []struct { testName string entry string dir string sep string want bool }{ { testName: "basic-file", entry: "src/file", dir: "src/", sep: slashSeparator, want: true, }, {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 31.6K bytes - Viewed (0) -
src/archive/tar/reader.go
func parsePAX(r io.Reader) (map[string]string, error) { buf, err := readSpecialFile(r) if err != nil { return nil, err } sbuf := string(buf) // For GNU PAX sparse format 0.0 support. // This function transforms the sparse format 0.0 headers into format 0.1 // headers since 0.0 headers were not PAX compliant. var sparseMap []string paxHdrs := make(map[string]string) for len(sbuf) > 0 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetTest.java
new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { return new StandardImplForwardingSet<>(Sets.newLinkedHashSet(asList(elements))); } }) .named("ForwardingSet[LinkedHashSet] with standard implementations") .withFeatures(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UUID.java
default: throw new IllegalArgumentException(new String(arr, offset, length)); } count++; } return value; } static final char[] HEXCHARS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; private static String bin_to_hex ( int value, int length ) { char[] arr = new char[length];
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.6K bytes - Viewed (0) -
tests/scopes_test.go
"gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func NameIn1And2(d *gorm.DB) *gorm.DB { return d.Where("name in (?)", []string{"ScopeUser1", "ScopeUser2"}) } func NameIn2And3(d *gorm.DB) *gorm.DB { return d.Where("name in (?)", []string{"ScopeUser2", "ScopeUser3"}) } func NameIn(names []string) func(d *gorm.DB) *gorm.DB { return func(d *gorm.DB) *gorm.DB { return d.Where("name in (?)", names) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump.go
} if input[0] == '[' { return json.Unmarshal(input, i) } m := make(map[string]T) if err := json.Unmarshal(input, &m); err != nil { return err } *i = maps.Values(m) return nil } // PrintBootstrapDump prints just the bootstrap config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintBootstrapDump(outputFormat string) error { // TODO return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
TFE_OpReset(reused_op.get(), "Identity", custom_device_name, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); ASSERT_EQ(tensorflow::string(TFE_OpGetDevice(reused_op.get(), status.get())), tensorflow::string(custom_device_name)); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); TFE_OpReset(reused_op.get(), "Identity",
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 27 23:39:24 UTC 2020 - 18.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/extensions.kt
artifactRules = "build-receipt.properties => incoming-distributions" } } fun functionalTestExtraParameters( buildScanTags: List<String>, os: Os, arch: Arch, testJvmVersion: String, testJvmVendor: String ): String { val buildScanValues = mapOf( "coverageOs" to os.name.lowercase(), "coverageArch" to arch.name.lowercase(),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 10 03:25:26 UTC 2024 - 13.2K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial008_py310.py
from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: str | None = Query( default=None, title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, ), ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q: results.update({"q": q})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 434 bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 14.8K bytes - Viewed (0)