Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for _encapsulate (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/ModelContainer.java

     * limitations under the License.
     */
    
    package org.gradle.internal.model;
    
    import javax.annotation.Nullable;
    import java.util.function.Consumer;
    import java.util.function.Function;
    
    /**
     * Encapsulates some mutable model, and provides synchronized access to the model.
     */
    public interface ModelContainer<T> {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h

    // cluster) ops to a separate parallel_execute region to run on CPU.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    CreateExtractOutsideCompilationPass();
    
    // Create a pass that encapsulates StatefulPartitionedCallOp within a cluster.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    CreateXlaClusterFormationPass();
    
    // Creates a pass that marks unsupported ops in device cluster for outside
    // compilation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. pkg/kubelet/types/types.go

    import (
    	"net/http"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/cri-client/pkg/logs"
    )
    
    // TODO: Reconcile custom types in kubelet/types and this subpackage
    
    // HTTPDoer encapsulates http.Do functionality
    type HTTPDoer interface {
    	Do(req *http.Request) (*http.Response, error)
    }
    
    // Timestamp wraps around time.Time and offers utilities to format and parse
    // the time using RFC3339Nano
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/crypto/internal/hpke/hpke_test.go

    				pub,
    				info,
    			)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			expectedEncap := mustDecodeHex(t, setup["enc"])
    			if !bytes.Equal(encap, expectedEncap) {
    				t.Errorf("unexpected encapsulated key, got: %x, want %x", encap, expectedEncap)
    			}
    			expectedSharedSecret := mustDecodeHex(t, setup["shared_secret"])
    			if !bytes.Equal(context.sharedSecret, expectedSharedSecret) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    			log.Printf("upload recover: %v", err)
    		}
    	}()
    	uploader, err := newUploader(config)
    	if err != nil {
    		return err
    	}
    	defer uploader.Close()
    	return uploader.Run()
    }
    
    // uploader encapsulates a single upload operation, carrying parameters and
    // shared state.
    type uploader struct {
    	// config is used to select counters to upload.
    	config        *telemetry.UploadConfig //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    type Dir struct {
    	dir, local, upload, debug, modefile string
    }
    
    // NewDir creates a new Dir encapsulating paths in the given dir.
    //
    // NewDir does not create any new directories or files--it merely encapsulates
    // the telemetry directory layout.
    func NewDir(dir string) Dir {
    	return Dir{
    		dir:      dir,
    		local:    filepath.Join(dir, "local"),
    		upload:   filepath.Join(dir, "upload"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/internal/coverage/pods/pods.go

    // license that can be found in the LICENSE file.
    
    package pods
    
    import (
    	"cmp"
    	"fmt"
    	"internal/coverage"
    	"os"
    	"path/filepath"
    	"regexp"
    	"slices"
    	"strconv"
    	"strings"
    )
    
    // Pod encapsulates a set of files emitted during the executions of a
    // coverage-instrumented binary. Each pod contains a single meta-data
    // file, and then 0 or more counter data files that refer to that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt

        fun systemPropertiesCleared() = mode.toTrackingMode().systemPropertiesCleared()
    
        private
        inner class ModeHolder {
            // ModeHolder encapsulates concurrent mode updates.
            private
            var mode: TrackerMode = Initial()
    
            private
            inline fun <T : TrackerMode> setMode(transition: (TrackerMode) -> T): T {
                synchronized(this) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/internal/coverage/cformat/format.go

    	// maps function to index in slice above (index acts as function ID)
    	funcTable map[fnfile]uint32
    
    	// A table storing coverage counts for each coverable unit.
    	unitTable map[extcu]uint32
    }
    
    // extcu encapsulates a coverable unit within some function.
    type extcu struct {
    	fnfid uint32 // index into p.funcs slice
    	coverage.CoverableUnit
    }
    
    // fnfile is a function-name/file-name tuple.
    type fnfile struct {
    	file  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top