- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,634 for scores (0.13 sec)
-
pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go
name: "pod with multiple large images, node2 is preferred", }, { // Pod: gcr.io/30 gcr.io/40 // Node1 // Image: gcr.io/20:latest 20MB, gcr.io/30:latest 30MB, gcr.io/40:latest 40MB // Score: 100 * (30M + 40M * 1/2 - 23M) / (1000M * 2 - 23M) = 1 // Node2 // Image: 100 * (30M - 23M) / (1000M * 2 - 23M) = 0 // Score: 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 06:17:57 UTC 2024 - 10.3K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CompositeResultsStore.java
import java.util.stream.Collectors; public class CompositeResultsStore implements ResultsStore { private final List<ResultsStore> stores; private Map<PerformanceExperiment, ResultsStore> tests; public CompositeResultsStore(ResultsStore... stores) { this.stores = Arrays.asList(stores); } @Override public List<PerformanceExperiment> getPerformanceExperiments() { buildTests();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/config/aggregate/config_test.go
func TestAggregateStoreWrite(t *testing.T) { g := NewWithT(t) store1 := memory.Make(collection.SchemasFor(collections.HTTPRoute)) store2 := memory.Make(collection.SchemasFor(collections.HTTPRoute)) stores := []model.ConfigStore{store1, store2} store, err := makeStore(stores, store1) g.Expect(err).NotTo(HaveOccurred()) if _, err := store.Create(config.Config{ Meta: config.Meta{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/ServiceScope.java
* Services are visible to other services in the same scope and descendent scopes. * Services are not visible to services in ancestor scopes. * <p> * When a service is defined in multiple scopes, the highest scope determines the visibility. * The additional instances of the service in lower scopes "override" the instance from the parent * for their scope and its children. * * @see Scope */ @Retention(RetentionPolicy.RUNTIME)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 1.7K bytes - Viewed (0) -
fastapi/security/oauth2.py
data = {} data["scopes"] = [] for scope in form_data.scopes: data["scopes"].append(scope) if form_data.client_id: data["client_id"] = form_data.client_id if form_data.client_secret: data["client_secret"] = form_data.client_secret return data ``` Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 21.1K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py310.py
token_scopes = payload.get("scopes", []) token_data = TokenData(scopes=token_scopes, username=username) except (InvalidTokenError, ValidationError): raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception for scope in security_scopes.scopes: if scope not in token_data.scopes:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.2K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py39.py
token_scopes = payload.get("scopes", []) token_data = TokenData(scopes=token_scopes, username=username) except (InvalidTokenError, ValidationError): raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception for scope in security_scopes.scopes: if scope not in token_data.scopes:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.3K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/Scope.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 1022 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0) -
pkg/test/kube/dump.go
if err != nil { scopes.Framework.Warnf("Unable to get core dumps %v for cluster/pod: %s/%s/%s: %v", cd, c.Name(), pod.Namespace, pod.Name, err) continue } fname := podOutputPath(workDir, c, pod, filepath.Base(cd)) if err = os.WriteFile(fname, []byte(stdout), os.ModePerm); err != nil { scopes.Framework.Warnf("Unable to write envoy core dump log for cluster/pod: %s/%s/%s: %v",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0)