Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,570 for scores (0.43 sec)

  1. pkg/config/analysis/scope/scope.go

     limitations under the License.
    */
    
    package scope
    
    import "istio.io/istio/pkg/log"
    
    var (
    	// Analysis is a logging scope used by configuration analysis component.
    	Analysis = log.RegisterScope("analysis", "Scope for configuration analysis runtime")
    	// Processing is a logging scope used by configuration processing pipeline.
    	Processing = log.RegisterScope("processing", "Scope for configuration processing runtime")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 951 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    type store struct {
    	client              *clientv3.Client
    	codec               runtime.Codec
    	versioner           storage.Versioner
    	transformer         value.Transformer
    	pathPrefix          string
    	groupResource       schema.GroupResource
    	groupResourceString string
    	watcher             *watcher
    	leaseManager        *leaseManager
    }
    
    func (s *store) RequestWatchProgress(ctx context.Context) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. pilot/pkg/config/aggregate/config.go

    	for _, store := range cr.stores[typ] {
    		config := store.Get(typ, name, namespace)
    		if config != nil {
    			return config
    		}
    	}
    	return nil
    }
    
    // List all configs in the stores.
    func (cr *store) List(typ config.GroupVersionKind, namespace string) []config.Config {
    	stores := cr.stores[typ]
    	if len(stores) == 0 {
    		return nil
    	}
    
    	var (
    		configs      []config.Config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 26 01:14:27 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/cluster_scoping_pass_test.cc

        TF_EXPECT_OK(GraphDefBuilderToGraph(builder, graph.get()));
      }
    
      TF_ASSERT_OK(ClusterScoping(&graph));
    
      auto scopes = GetXlaInternalScopes(*graph);
      EXPECT_NE(scopes["add0"], scopes["add1"]);
      EXPECT_EQ(scopes["add0"], scopes["relu0"]);
      EXPECT_EQ(scopes["add1"], scopes["relu1"]);
    }
    
    TEST(XlaCompilationTest, StagePipelinePreservedAndInitialScopesRespected) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 29 16:20:48 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  5. docs_src/security/tutorial005_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.1K bytes
    - Viewed (0)
  6. docs_src/security/tutorial005_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.2K bytes
    - Viewed (0)
  7. tests/test_dependency_security_overrides.py

        return "john", required_scopes.scopes
    
    
    def get_user_override(required_scopes: SecurityScopes):
        return "alice", required_scopes.scopes
    
    
    def get_data():
        return [1, 2, 3]
    
    
    def get_data_override():
        return [3, 4, 5]
    
    
    @app.get("/user")
    def read_user(
        user_data: Tuple[str, List[str]] = Security(get_user, scopes=["foo", "bar"]),
        data: List[int] = Depends(get_data),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 14 15:54:46 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  8. docs_src/security/tutorial005.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)
  9. docs_src/security/tutorial005_an.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)
  10. 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)
Back to top