Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for checkuint8 (3.32 sec)

  1. test/divmod.go

    	ntest++
    	if ntest&(ntest-1) == 0 && long {
    		println(ntest, "...")
    	}
    	checkuint64(x, y)
    	if (uint64(uint32(x)) == x || uint64(uint32(^x)) == ^x) && (uint64(uint32(y)) == y || uint64(uint32(^y)) == ^y) {
    		checkuint32(uint32(x), uint32(y))
    	}
    	if (uint64(uint16(x)) == x || uint64(uint16(^x)) == ^x) && (uint64(uint16(y)) == y || uint64(uint16(^y)) == ^y) {
    		checkuint16(uint16(x), uint16(y))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 9.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcshared/testdata/main1.c

      if (!handle) {
        fprintf(stderr, "ERROR: failed to open the shared library: %s\n",
    		    dlerror());
        return 2;
      }
    
      int ret = 0;
      ret = check_int8(handle, "DidInitRun", 1);
      if (ret != 0) {
        return ret;
      }
    
      ret = check_int8(handle, "DidMainRun", 0);
      if (ret != 0) {
        return ret;
      }
    
      ret = check_int32(handle, "FromPkg", 1024);
      if (ret != 0) {
       return ret;
      }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. test/slicecap.go

    		y := x[4:]
    		checkBytes("y[1:]", y[1:])
    	}
    	{
    		x := ints
    		checkInts("x", x)
    		checkInts("x[5:]", x[5:])
    		checkInts("x[five:]", x[five:])
    		checkInts("x[5:five]", x[5:five])
    		checkInts("x[five:5]", x[five:5])
    		checkInts("x[five:five]", x[five:five])
    		checkInts("x[1:][2:][2:]", x[1:][2:][2:])
    		y := x[4:]
    		checkInts("y[1:]", y[1:])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  4. src/runtime/metrics_test.go

    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapAlloc)
    		case "/memory/classes/heap/unused:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapInuse-mstats.HeapAlloc)
    		case "/memory/classes/heap/stacks:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.StackInuse)
    		case "/memory/classes/metadata/mcache/free:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.MCacheSys-mstats.MCacheInuse)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top