Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,777 for makeID (0.31 sec)

  1. src/runtime/sys_libc.go

    		mp.libcallpc = getcallerpc()
    		// sp must be the last, because once async cpu profiler finds
    		// all three values to be non-zero, it will use them
    		mp.libcallsp = getcallersp()
    	} else {
    		// Make sure we don't reset libcallsp. This makes
    		// libcCall reentrant; We remember the g/pc/sp for the
    		// first call on an M, until that libcCall instance
    		// returns.  Reentrance only matters for signals, as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/internal/bootstrap_test/overlaydir_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bootstrap_test
    
    import (
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    // overlayDir makes a minimal-overhead copy of srcRoot in which new files may be added.
    //
    // TODO: Once we no longer need to support the misc module in GOPATH mode,
    // factor this function out into a package to reduce duplication.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:35:05 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. test/typeparam/chansimp.dir/a.go

    // at a time. This is implemented using channels rather than a mutex.
    type Exclusive[Val any] struct {
    	c chan Val
    }
    
    // MakeExclusive makes an initialized exclusive value.
    func MakeExclusive[Val any](initial Val) *Exclusive[Val] {
    	r := &Exclusive[Val]{
    		c: make(chan Val, 1),
    	}
    	r.c <- initial
    	return r
    }
    
    // Acquire acquires the exclusive value for private use.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. pkg/queue/delay.go

    	var n int
    	if n = runtime.GOMAXPROCS(0); n == 1 {
    		return 0
    	}
    
    	// Make channel non-blocking and set up its capacity with GOMAXPROCS if GOMAXPROCS>1,
    	// otherwise the sender might be dragged down if the receiver is CPU-bound.
    	//
    	// GOMAXPROCS determines how many goroutines can run in parallel,
    	// which makes it the best choice as the channel capacity,
    	return n
    }()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/types/nodename.go

    //
    // * The cloudproviders have the own names: GCE has InstanceName, AWS has InstanceId.
    //
    //	For GCE, InstanceName is the Name of an Instance object in the GCE API.  On GCE, Instance.Name becomes the
    //	Hostname, and thus it makes sense also to use it as the Node.Name.  But that is GCE specific, and it is up
    //	to the cloudprovider how to do this mapping.
    //
    //	For AWS, the InstanceID is not yet suitable for use as a Node.Name, so we actually use the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. src/sync/map_reference_test.go

    func (m *RWMutexMap) Store(key, value any) {
    	m.mu.Lock()
    	if m.dirty == nil {
    		m.dirty = make(map[any]any)
    	}
    	m.dirty[key] = value
    	m.mu.Unlock()
    }
    
    func (m *RWMutexMap) LoadOrStore(key, value any) (actual any, loaded bool) {
    	m.mu.Lock()
    	actual, loaded = m.dirty[key]
    	if !loaded {
    		actual = value
    		if m.dirty == nil {
    			m.dirty = make(map[any]any)
    		}
    		m.dirty[key] = value
    	}
    	m.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/README.adoc

    You want to share a file made by a task in one project with a task in another project.
    For example, one task makes a file, and the other task reads the file and uses some information inside it.
    This is one way you can share information across project boundaries. (Another way is to use extension objects.)
    
    [NOTE]
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/iimport.go

    		stringData:  stringData,
    		stringCache: make(map[uint64]string),
    		pkgCache:    make(map[uint64]*types.Package),
    
    		declData: declData,
    		pkgIndex: make(map[*types.Package]map[string]uint64),
    		typCache: make(map[uint64]types.Type),
    		// Separate map for typeparams, keyed by their package and unique
    		// name (name with subscript).
    		tparamIndex: make(map[ident]*types.TypeParam),
    
    		fake: fakeFileSet{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py

        show_debug_info: If true, shows debug locations in the resulting MLIR.
      """
      if exported_names is None:
        exported_names = []
    
      # Make LOG(ERROR) in C++ code show up on the console.
      # All `Status` passed around in the C++ API seem to eventually go into
      # `LOG(ERROR)`, so this makes them print out by default.
      logging.set_stderrthreshold('error')
    
      # In true TF2 releases, v2 behavior is enabled as part of module __init__. In
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 23:49:27 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. build/root/Makefile

    #   WHAT: List of checks to run
    #
    # Example:
    #   make verify
    #   make verify BRANCH=branch_x
    #   make verify WHAT="gofmt typecheck"
    endef
    .PHONY: verify
    ifeq ($(PRINT_HELP),y)
    verify:
    	echo "$$VERIFY_HELP_INFO"
    else ifeq ($(origin KUBE_VERIFY_GIT_BRANCH), undefined)
    verify:
    	KUBE_VERIFY_GIT_BRANCH=$(BRANCH) hack/make-rules/verify.sh
    else
    verify:
    	hack/make-rules/verify.sh
    endif
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top