Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for Get2 (0.05 sec)

  1. src/runtime/sys_darwin.go

    		n               uintptr
    		prot, flags, fd int32
    		off             uint32
    		ret1            unsafe.Pointer
    		ret2            int
    	}{addr, n, prot, flags, fd, off, nil, 0}
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(mmap_trampoline)), unsafe.Pointer(&args))
    	return args.ret1, args.ret2
    }
    func mmap_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func munmap(addr unsafe.Pointer, n uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    }
    
    func TestIsMemberOf(t *testing.T) {
    	set := newStatefulSet(3)
    	set2 := newStatefulSet(3)
    	set2.Name = "foo2"
    	pod := newStatefulSetPod(set, 1)
    	if !isMemberOf(set, pod) {
    		t.Error("isMemberOf returned false negative")
    	}
    	if isMemberOf(set2, pod) {
    		t.Error("isMemberOf returned false positive")
    	}
    }
    
    func TestIdentityMatches(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  3. test/escape_reflect.go

    	vx := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	v.Set(vx)
    }
    
    // Unfortunate: a can be stack allocated, x (the interface storage) doesn't need to escape.
    func set2(x int) int64 {
    	var a int // ERROR "moved to heap: a"
    	v := reflect.ValueOf(&a).Elem()
    	vx := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	v.Set(vx)
    	return v.Int()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertThat(set1).containsExactly(LegacyComparable.Z);
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set2 =
            ImmutableSortedSet.of(LegacyComparable.Z, LegacyComparable.Y);
        assertThat(set2).containsExactly(LegacyComparable.Y, LegacyComparable.Z);
      }
    
      public void testLegacyComparable_copyOf_collection() {
        ImmutableSortedSet<LegacyComparable> set =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/wasm/asm.go

    	sizeOffset := writeSecHeader(ctxt, sectionGlobal)
    
    	globalRegs := []byte{
    		I32, // 0: SP
    		I64, // 1: CTXT
    		I64, // 2: g
    		I64, // 3: RET0
    		I64, // 4: RET1
    		I64, // 5: RET2
    		I64, // 6: RET3
    		I32, // 7: PAUSE
    	}
    
    	writeUleb128(ctxt.Out, uint64(len(globalRegs))) // number of globals
    
    	for _, typ := range globalRegs {
    		ctxt.Out.WriteByte(typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_control_test.go

    			set1.Status.CurrentRevision = rev0.Name
    			set1.Status.CollisionCount = new(int32)
    			rev1 := newRevisionOrDie(set1, 2)
    			set2 := set1.DeepCopy()
    			set2.Spec.Template.Labels["new"] = "label"
    			set2.Status.CurrentRevision = rev0.Name
    			set2.Status.CollisionCount = new(int32)
    			rev2 := newRevisionOrDie(set2, 3)
    			tests := []testcase{
    				{
    					name:            "creates initial revision",
    					existing:        nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			// names is the list of names with this type.
    			names := fld.Names
    			if len(names) == 0 {
    				// Anonymous args will be called arg, arg1, arg2, ...
    				// Similarly so for return values: ret, ret1, ret2, ...
    				name := "arg"
    				if isret {
    					name = "ret"
    				}
    				if argnum > 0 {
    					name += strconv.Itoa(argnum)
    				}
    				names = []*ast.Ident{ast.NewIdent(name)}
    			}
    			argnum += len(names)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/wasm/wasmobj.go

    	"encoding/binary"
    	"fmt"
    	"internal/abi"
    	"io"
    	"math"
    )
    
    var Register = map[string]int16{
    	"SP":    REG_SP,
    	"CTXT":  REG_CTXT,
    	"g":     REG_g,
    	"RET0":  REG_RET0,
    	"RET1":  REG_RET1,
    	"RET2":  REG_RET2,
    	"RET3":  REG_RET3,
    	"PAUSE": REG_PAUSE,
    
    	"R0":  REG_R0,
    	"R1":  REG_R1,
    	"R2":  REG_R2,
    	"R3":  REG_R3,
    	"R4":  REG_R4,
    	"R5":  REG_R5,
    	"R6":  REG_R6,
    	"R7":  REG_R7,
    	"R8":  REG_R8,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

       * NavigableMap<K, V> map2 = map.subMap(foo, false, bar, true);
       *
       * // Needn't be in synchronized block
       * NavigableSet<K> set2 = map2.descendingKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not map2 or set2!
       *   Iterator<K> it = set2.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

       * NavigableMap<K, V> map2 = map.subMap(foo, false, bar, true);
       *
       * // Needn't be in synchronized block
       * NavigableSet<K> set2 = map2.descendingKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not map2 or set2!
       *   Iterator<K> it = set2.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
Back to top