- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 334 for rels (0.02 seconds)
-
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()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 709 bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
sb.setLength(0); data = ByteSource.wrap(string.getBytes(charset)); } @Benchmark public int timeCopy(int reps) throws IOException { int r = 0; Charset localCharset = charset; ByteSource localData = data; ReadStrategy localStrategy = strategy; for (int i = 0; i < reps; i++) { r += localStrategy.read(localData, localCharset).hashCode(); } return r; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
} } @Benchmark int benchmarkGetChecked(int reps) { int tmp = 0; GetCheckedTypeValidator validator = this.validator.validator; Future<Object> future = this.result.future; Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; for (int i = 0; i < reps; ++i) { try { tmp += getChecked(validator, future, exceptionType).hashCode();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 6.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java
@Test void testDefaultPolicy() throws Exception { MetadataGraphEdge res; res = policy.apply(e1, e2); assertEquals("1.1", res.getVersion(), "Wrong depth edge selected"); res = policy.apply(e1, e3); assertEquals("1.2", res.getVersion(), "Wrong version edge selected"); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
migrator/migrator.go
return &uni, stmt.Table } getTable := func(rel *schema.Relationship) string { switch rel.Type { case schema.HasOne, schema.HasMany: return rel.FieldSchema.Table case schema.Many2Many: return rel.JoinTable.Table } return stmt.Table } for _, rel := range stmt.Schema.Relationships.Relations { if constraint := rel.ParseConstraint(); constraint != nil && constraint.Name == name {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:31:09 GMT 2025 - 29.7K bytes - Click Count (0) -
.github/workflows/containers.yml
jobs: test_containers: permissions: checks: write # for actions/upload-artifact runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'containers') steps: - name: Checkout uses: actions/checkout@v6 - name: Configure JDK uses: actions/setup-java@v5Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Nov 21 15:26:25 GMT 2025 - 872 bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java
} checkState(segment.table.length() == capacity); } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0; AtomicReferenceArray<ReferenceEntry<Object, Object>> oldTable = segment.table; for (int i = 0; i < reps; i++) { // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently // held segment.expand();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
for (int i = 0; i < capacity; i++) { strings[i] = String.valueOf(Math.random()); } } @Benchmark void addsAndRemoves(int reps) { int capacity = this.capacity; BlockingQueue<String> queue = this.queue; String[] strings = this.strings; for (int i = 0; i < reps; i++) { for (int j = 0; j < capacity; j++) { queue.add(strings[j]); } for (int j = 0; j < capacity; j++) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 2.1K bytes - Click Count (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() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Click Count (0)