Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for copied32 (0.22 sec)

  1. pilot/pkg/networking/util/fuzz_test.go

    		empty2 := &networking.TrafficPolicy{}
    		copied = mergeTrafficPolicy(empty2, copied, true)
    		assert.Equal(fg.T(), copyFrom, copied)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 20:32:49 UTC 2024
    - 1.8K bytes
    - Viewed (1)
  2. src/cmd/compile/internal/types2/subst.go

    }
    
    func (subst *subster) tuple(t *Tuple) *Tuple {
    	if t != nil {
    		if vars, copied := subst.varList(t.vars); copied {
    			return &Tuple{vars: vars}
    		}
    	}
    	return t
    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/go/types/subst.go

    }
    
    func (subst *subster) tuple(t *Tuple) *Tuple {
    	if t != nil {
    		if vars, copied := subst.varList(t.vars); copied {
    			return &Tuple{vars: vars}
    		}
    	}
    	return t
    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/sync/cond.go

    func (c *copyChecker) check() {
    	// Check if c has been copied in three steps:
    	// 1. The first comparison is the fast-path. If c has been initialized and not copied, this will return immediately. Otherwise, c is either not initialized, or has been copied.
    	// 2. Ensure c is initialized. If the CAS succeeds, we're done. If it fails, c was either initialized concurrently and we simply lost the race, or c has been copied.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. pkg/config/model_test.go

    		Spec: &networking.Gateway{},
    	}
    
    	copied := cfg.DeepCopy()
    
    	if diff := cmp.Diff(copied, cfg, protocmp.Transform()); diff != "" {
    		t.Fatalf("cloned config is not identical: %v", diff)
    	}
    
    	copied.Labels["app"] = "cloned-app"
    	copied.Annotations["policy.istio.io/checkRetries"] = "0"
    	if cfg.Labels["app"] == copied.Labels["app"] ||
    		cfg.Annotations["policy.istio.io/checkRetries"] == copied.Annotations["policy.istio.io/checkRetries"] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/net/sendfile_windows.go

    	"syscall"
    )
    
    const supportsSendfile = true
    
    // sendFile copies the contents of r to c using the TransmitFile
    // system call to minimize copies.
    //
    // if handled == true, sendFile returns the number of bytes copied and any
    // non-EOF error.
    //
    // if handled == false, sendFile performed no work.
    func sendFile(fd *netFD, r io.Reader) (written int64, err error, handled bool) {
    	var n int64 = 0 // by default, copy until EOF.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/types.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package atomic
    
    import "unsafe"
    
    // Int32 is an atomically accessed int32 value.
    //
    // An Int32 must not be copied.
    type Int32 struct {
    	noCopy noCopy
    	value  int32
    }
    
    // Load accesses and returns the value atomically.
    //
    //go:nosplit
    func (i *Int32) Load() int32 {
    	return Loadint32(&i.value)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/OverlayNodeOrigin.kt

        /**
         * The node is copied as-is from the underlay. The [documentNode] is the node itself.
         */
        data class FromUnderlay(val documentNode: DeclarativeDocument.DocumentNode) : CopiedOrigin
    
        /**
         * The node is copied as-is from the overlay. The [documentNode] is the node itself.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            p1.exclude p1Exclude
            p2.exclude p2Exclude
    
            when:
            def copied = child.copyRecursive()
    
            then:
            copied.excludeRules.size() == 2
            copied.excludeRules.collect { [group: it.group, module: it.module] }.sort { it.group } == [p1Exclude, p2Exclude]
        }
    
        def "copied configuration has own instance of resolution strategy"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top