Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/sys_plan9_amd64.s

    	MOVQ	$38, BP
    	SYSCALL
    	MOVL	AX, ret+16(FP)
    	RET
    
    TEXT runtime·rfork(SB),NOSPLIT,$0
    	MOVQ	$19, BP
    	SYSCALL
    	MOVL	AX, ret+8(FP)
    	RET
    
    TEXT runtime·tstart_plan9(SB),NOSPLIT,$8
    	MOVQ	newm+0(FP), CX
    	MOVQ	m_g0(CX), DX
    
    	// Layout new m scheduler stack on os stack.
    	MOVQ	SP, AX
    	MOVQ	AX, (g_stack+stack_hi)(DX)
    	SUBQ	$(64*1024), AX		// stack size
    	MOVQ	AX, (g_stack+stack_lo)(DX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 16:41:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. src/runtime/os_linux.go

    	//
    	// 1. Addition of new Ms to allm in allocm happens before clone of its
    	//    OS thread later in newm.
    	// 2. newm does acquirem to avoid being preempted, ensuring that new Ms
    	//    created in allocm will eventually reach OS thread clone later in
    	//    newm.
    	// 3. We take allocmLock for write here to prevent allocation of new Ms
    	//    while this function runs. Per (1), this prevents clone of OS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. src/runtime/sys_windows_arm64.s

    	// Get callback result.
    	MOVD	$cbargs-(18*8+callbackArgs__size)(SP), R13
    	MOVD	callbackArgs_result(R13), R0
    
    	RESTORE_R19_TO_R28(8*9)
    
    	RET
    
    // uint32 tstart_stdcall(M *newm);
    TEXT runtime·tstart_stdcall(SB),NOSPLIT,$96-0
    	SAVE_R19_TO_R28(8*3)
    
    	MOVD	m_g0(R0), g
    	MOVD	R0, g_m(g)
    	BL	runtime·save_g(SB)
    
    	// Set up stack guards for OS stack.
    	MOVD	RSP, R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    	newS := sliceFromMapSlice(ss.s)
    	return newS
    }
    
    func mapSliceFromSlice(m []interface{}) []map[string]interface{} {
    	newM := []map[string]interface{}{}
    	for _, v := range m {
    		vt := v.(map[string]interface{})
    		newM = append(newM, vt)
    	}
    
    	return newM
    }
    
    func sliceFromMapSlice(s []map[string]interface{}) []interface{} {
    	newS := []interface{}{}
    	for _, v := range s {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  10. src/runtime/sys_windows_arm.s

    	ADD	$(16 + callbackArgs__size), R13	// free locals
    	MOVM.IA.W (R13), [R4-R11, R12]	// pop {r4-r11, lr=>r12}
    	ADD	$(4*4), R13	// skip r0-r3
    	B	(R12)	// return
    
    // uint32 tstart_stdcall(M *newm);
    TEXT runtime·tstart_stdcall(SB),NOSPLIT|NOFRAME,$0
    	MOVM.DB.W [R4-R11, R14], (R13)		// push {r4-r11, lr}
    
    	MOVW	m_g0(R0), g
    	MOVW	R0, g_m(g)
    	BL	runtime·save_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top