- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 182 for Tres (0.51 sec)
-
guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
int hashUtf8(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res += System.identityHashCode( hashFunctionEnum .getHashFunction() .hashString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8)); } return res; } @Benchmark int hashUtf8Hasher(int reps) { int res = 0; for (int i = 0; i < reps; i++) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
int hashUtf8(int reps) { int res = 0; for (int i = 0; i < reps; i++) { res += System.identityHashCode( hashFunctionEnum .getHashFunction() .hashString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8)); } return res; } @Benchmark int hashUtf8Hasher(int reps) { int res = 0; for (int i = 0; i < reps; i++) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.3K bytes - Viewed (0) -
tests/scan_test.go
} DB.Table("users").Select("id, name, age").Where("id = ?", user2.ID).Scan(&res) if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) { t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2) } DB.Model(&User{Model: gorm.Model{ID: user3.ID}}).Select("id, name, age").Scan(&res)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat May 28 14:18:07 GMT 2022 - 8.2K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 15K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
var res Result if accountValue == "minio" { res.Result = true } else { // All other users may not perform any `s3:Put*` operations. res.Result = true if strings.HasPrefix(actionValue, "s3:Put") { res.Result = false } } fmt.Printf("account: %v | action: %v | allowed: %v\n", accountValue, actionValue, res.Result) json.NewEncoder(w).Encode(res) return } func main() {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Viewed (0) -
internal/handlers/proxy_test.go
} for _, v := range headers { req := &http.Request{ Header: http.Header{ v.key: []string{v.val}, }, } res := GetSourceScheme(req) if res != v.expected { t.Errorf("wrong header for %s: got %s want %s", v.key, res, v.expected) } } } // TestGetSourceIP - check the source ip of a request is parsed correctly. func TestGetSourceIP(t *testing.T) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Dec 22 00:56:55 GMT 2023 - 3.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultVersionResolver.java
return res.getExceptions(); } @Override public Version getVersion() { return session.parseVersion(res.getVersion()); } @Override public Optional<Repository> getRepository() {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Dec 08 09:10:49 GMT 2023 - 3.7K bytes - Viewed (0) -
tests/test_typing_python39.py
app = FastAPI() @app.post("/", response_model=test_type) def post_endpoint(input: test_type): return input res = TestClient(app).post("/", json=expect) assert res.status_code == 200, res.json()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 709 bytes - Viewed (0) -
cmd/metacache-stream.go
return res, io.ErrUnexpectedEOF } return res, err } var err error var name string if name, err = r.mr.ReadString(); err != nil { r.err = err return res, err } if err = r.mr.Skip(); err != nil { if err == io.EOF { err = io.ErrUnexpectedEOF } r.err = err return res, err } res = append(res, name) } return res, nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 19.5K bytes - Viewed (0) -
internal/hash/checksum.go
duplicates = res != nil res = NewChecksumWithType(ChecksumSHA256|ChecksumTrailing, "") case strings.EqualFold(header, ChecksumSHA1.Key()): duplicates = res != nil res = NewChecksumWithType(ChecksumSHA1|ChecksumTrailing, "") } if duplicates { return nil, ErrInvalidChecksum } } if res != nil { return res, nil } } t, s := getContentChecksum(h)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 11.9K bytes - Viewed (0)