Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 221 for initiatives (0.15 sec)

  1. pkg/proxy/endpointslicecache.go

    // endpointSliceData contains information about a single EndpointSlice update or removal.
    type endpointSliceData struct {
    	endpointSlice *discovery.EndpointSlice
    	remove        bool
    }
    
    // NewEndpointSliceCache initializes an EndpointSliceCache.
    func NewEndpointSliceCache(hostname string, ipFamily v1.IPFamily, recorder events.EventRecorder, makeEndpointInfo makeEndpointFunc) *EndpointSliceCache {
    	if makeEndpointInfo == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (1)
  2. internal/config/policy/opa/config.go

    		AuthToken:   authToken,
    		Transport:   transport,
    		CloseRespFn: closeRespFn,
    	}
    	if err = args.Validate(); err != nil {
    		return args, err
    	}
    	return args, nil
    }
    
    // New - initializes opa policy engine connector.
    func New(args Args) *Opa {
    	// No opa args.
    	if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" {
    		return nil
    	}
    	return &Opa{
    		args:   args,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server.go

    		if ready := fn(); !ready {
    			log.Warnf("%s is not ready", name)
    			w.WriteHeader(http.StatusServiceUnavailable)
    			return
    		}
    	}
    	w.WriteHeader(http.StatusOK)
    }
    
    // initServers initializes http and grpc servers
    func (s *Server) initServers(args *PilotArgs) {
    	s.initGrpcServer(args.KeepaliveOptions)
    	multiplexGRPC := false
    	if args.ServerOptions.GRPCAddr != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

      )
      ```
      """
    
      def __init__(
          self,
          path_map: Mapping[str, os.PathLike[str]],
          expected_input_key_map: Optional[Mapping[str, Collection[str]]] = None,
      ):
        """Initializes TFRecord represenatative dataset saver.
    
        Args:
          path_map: Signature def key -> path mapping. Each path is a TFRecord file
            to which a `RepresentativeDataset` is saved. The signature def keys
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/tier-sweeper.go

    	TransitionStatus    string
    	TransitionTier      string
    	TransitionVersionID string
    	RemoteObject        string
    }
    
    // newObjSweeper returns an objSweeper for a given bucket and object.
    // It initializes the versioning information using bucket name.
    func newObjSweeper(bucket, object string) *objSweeper {
    	return &objSweeper{
    		Object: object,
    		Bucket: bucket,
    	}
    }
    
    // WithVersion sets the version ID from v
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. pkg/util/filesystem/watcher.go

    package filesystem
    
    import (
    	"context"
    	"fmt"
    	"time"
    
    	"github.com/fsnotify/fsnotify"
    )
    
    // FSWatcher is a callback-based filesystem watcher abstraction for fsnotify.
    type FSWatcher interface {
    	// Initializes the watcher with the given watch handlers.
    	// Called before all other methods.
    	Init(FSEventHandler, FSErrorHandler) error
    
    	// Starts listening for events and errors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/KotlinDslTestProjectInitiation.groovy

            """)
            return new BuildSpec(
                scripts: [
                    settings: settings,
                    a: a
                ]
            )
        }
    
        /**
         * Initializes a new project with <i>Kotlin-based</i> build scripts.
         */
        BuildSpec withMultipleSubprojects() {
            def settings = withSettings("""
                include("a", "b")
            """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/istio_ca.go

    		log.Infof("failed to add cacerts file watcher for %s: %v", dir, err)
    		return err
    	}
    
    	log.Infof("Added cacerts files watcher at %v", dir)
    
    	return nil
    }
    
    // initCACertsWatcher initializes the cacerts (/etc/cacerts) directory.
    // In particular it monitors 'ca-key.pem', 'ca-cert.pem', 'root-cert.pem'
    // and 'cert-chain.pem'.
    func (s *Server) initCACertsWatcher() {
    	var err error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/imagelocality/image_locality.go

    	return score, nil
    }
    
    // ScoreExtensions of the Score plugin.
    func (pl *ImageLocality) ScoreExtensions() framework.ScoreExtensions {
    	return nil
    }
    
    // New initializes a new plugin and returns it.
    func New(_ context.Context, _ runtime.Object, h framework.Handle) (framework.Plugin, error) {
    	return &ImageLocality{handle: h}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

                  StrEq("arg_0:0"));
    }
    
    TEST_F(ConvertMlirModuleToExportedModelTest,
           InitNodeNameSetToLocOfControlOutput) {
      // Define a module that initializes a tf.HashTableV2 whose control output node
      // for the initialization is named "init_op_init_all_tables".
      mlir::OwningOpRef<mlir::ModuleOp> module_op = ParseModuleOpString(R"mlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top