Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for newm1 (0.04 sec)

  1. src/runtime/sys_windows_386.s

    	POPL	SI
    	POPL	DI
    
    	// remove callback parameters before return (as per Windows spec)
    	POPL	DX
    	ADDL	CX, SP
    	PUSHL	DX
    
    	CLD
    
    	RET
    
    // void tstart(M *newm);
    TEXT tstart<>(SB),NOSPLIT,$8-4
    	MOVL	newm+0(FP), CX		// m
    	MOVL	m_g0(CX), DX		// g
    
    	// Layout new m scheduler stack on os stack.
    	MOVL	SP, AX
    	MOVL	AX, (g_stack+stack_hi)(DX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	if v, _, _, _ := current.lookup(name); v != nil {
    		return v, nop
    	}
    	v, newM, err := current.newCounter(name)
    	if err != nil {
    		debugPrintf("newCounter %s: %v\n", name, err)
    		return nil, nop
    	}
    
    	cleanup = nop
    	if newM != nil {
    		f.current.Store(newM)
    		cleanup = f.invalidateCounters
    	}
    	return v, cleanup
    }
    
    // Open associates counting with the defaultFile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. test/typeparam/issue50598.dir/a0.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a0
    
    type Builder[T any] struct{}
    
    func (r Builder[T]) New1() T {
    	var v T
    	return v
    }
    
    func (r Builder[T]) New2() T {
    	var v T
    	return v
    }
    
    type IntBuilder struct{}
    
    func (b IntBuilder) New() int {
    	return Builder[int]{}.New2()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 14 16:41:18 UTC 2022
    - 398 bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                        // fill in domain md with actual version data
                        ArtifactMetadata md = v.getMd();
                        ArtifactMetadata newMd = new ArtifactMetadata(
                                md.getGroupId(),
                                md.getArtifactId(),
                                edge.getVersion(),
                                md.getType(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. pkg/config/mesh/kubemesh/watcher_test.go

    	stop := test.NewStop(t)
    	w := NewConfigMapWatcher(client, namespace, name, key, false, stop)
    	client.RunAndWait(stop)
    
    	var mu sync.Mutex
    	newM := mesh.DefaultMeshConfig()
    	w.AddMeshHandler(func() {
    		mu.Lock()
    		defer mu.Unlock()
    		newM = w.Mesh()
    	})
    
    	steps := []struct {
    		added   *v1.ConfigMap
    		updated *v1.ConfigMap
    		deleted *v1.ConfigMap
    
    		expect *meshconfig.MeshConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. src/encoding/gob/type_test.go

    	}
    }
    
    func TestMapType(t *testing.T) {
    	var m map[string]int
    	mapStringInt := getTypeUnlocked("map", reflect.TypeOf(m))
    	var newm map[string]int
    	newMapStringInt := getTypeUnlocked("map1", reflect.TypeOf(newm))
    	if mapStringInt != newMapStringInt {
    		t.Errorf("second registration of map[string]int creates new type")
    	}
    	var b map[string]bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/runtime/sys_plan9_arm.s

    	RET
    
    //func rfork(flags int32) int32
    TEXT runtime·rfork(SB),NOSPLIT,$0-8
    	MOVW	$SYS_RFORK, R0
    	SWI	$0
    	MOVW	R0, ret+4(FP)
    	RET
    
    //func tstart_plan9(newm *m)
    TEXT runtime·tstart_plan9(SB),NOSPLIT,$4-4
    	MOVW	newm+0(FP), R1
    	MOVW	m_g0(R1), g
    
    	// Layout new m scheduler stack on os stack.
    	MOVW	R13, R0
    	MOVW	R0, g_stack+stack_hi(g)
    	SUB	$(64*1024), R0
    	MOVW	R0, (g_stack+stack_lo)(g)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 29 14:15:04 UTC 2021
    - 7K bytes
    - Viewed (0)
  8. src/runtime/sys_solaris_amd64.s

    	MOVQ	(m_mOS+mOS_perrno)(BX), AX
    	CMPQ	AX, $0
    	JEQ	skiperrno2
    	MOVL	0(AX), AX
    	MOVQ	AX, libcall_err(DI)
    
    skiperrno2:
    	RET
    
    // uint32 tstart_sysvicall(M *newm);
    TEXT runtime·tstart_sysvicall(SB),NOSPLIT,$0
    	// DI contains first arg newm
    	MOVQ	m_g0(DI), DX		// g
    
    	// Make TLS entries point at g and m.
    	get_tls(BX)
    	MOVQ	DX, g(BX)
    	MOVQ	DI, g_m(DX)
    
    	// Layout new m scheduler stack on os stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:29:00 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. src/runtime/sys_windows_amd64.s

    	POP_REGS_HOST_TO_ABI0()
    
    	// The return value was placed in AX above.
    	RET
    
    // uint32 tstart_stdcall(M *newm);
    TEXT runtime·tstart_stdcall(SB),NOSPLIT|NOFRAME,$0
    	// Switch from the host ABI to the Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// CX contains first arg newm
    	MOVQ	m_g0(CX), DX		// g
    
    	// Layout new m scheduler stack on os stack.
    	MOVQ	SP, AX
    	MOVQ	AX, (g_stack+stack_hi)(DX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/encoding/gob/type.go

    		return info, nil
    	}
    
    	// Create new map with old contents plus new entry.
    	m, _ := typeInfoMap.Load().(map[reflect.Type]*typeInfo)
    	newm := make(map[reflect.Type]*typeInfo, len(m))
    	for k, v := range m {
    		newm[k] = v
    	}
    	newm[rt] = info
    	typeInfoMap.Store(newm)
    	return info, nil
    }
    
    // Called only when a panic is acceptable and unexpected.
    func mustGetTypeInfo(rt reflect.Type) *typeInfo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top