Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 193 for bignum (0.15 sec)

  1. src/os/signal/signal_plan9.go

    func signal_recv() string
    
    func init() {
    	watchSignalLoop = loop
    }
    
    func loop() {
    	for {
    		process(syscall.Note(signal_recv()))
    	}
    }
    
    const numSig = 256
    
    func signum(sig os.Signal) int {
    	switch sig := sig.(type) {
    	case syscall.Note:
    		n, ok := sigtab[sig]
    		if !ok {
    			n = len(sigtab) + 1
    			if n > numSig {
    				return -1
    			}
    			sigtab[sig] = n
    		}
    		return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 01 23:55:34 UTC 2020
    - 1K bytes
    - Viewed (0)
  2. src/fmt/print.go

    func intFromArg(a []any, argNum int) (num int, isInt bool, newArgNum int) {
    	newArgNum = argNum
    	if argNum < len(a) {
    		num, isInt = a[argNum].(int) // Almost always OK.
    		if !isInt {
    			// Work harder.
    			switch v := reflect.ValueOf(a[argNum]); v.Kind() {
    			case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    				n := v.Int()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

            'root/some' | '/root/other' | 4
        }
    
        def "can compare by first segment"() {
            expect:
            Integer.signum(VfsRelativePath.of(path1, offset).compareToFirstSegment(path2, caseSensitivity)) == result
            if (result) {
                assert Integer.signum(path1.substring(offset) <=> path2) == result
            }
    
            where:
            path1                   | offset | path2              | result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/prepare_quantize/prepare_quantize.mlir

      // CHECK: %[[dq2:.*]] = "quantfork.dcast"(%[[q2]])
      // CHECK: stablehlo.convert %[[dq2]]
      %0 = "quantfork.stats"(%arg0) {bitsNum = 8 : i64, layerStats = dense<[-0.999415695, 0.99998933]> : tensor<2xf32>, narrowRange = false} : (tensor<2x3xf32>) -> tensor<2x3xf32>
      %1 = "quantfork.stats"(%0) {bitsNum = 8 : i64, layerStats = dense<[-2.0, 2.0]> : tensor<2xf32>, narrowRange = false} : (tensor<2x3xf32>) -> tensor<2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 19:52:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/DoubleUtils.java

        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
        } else if (exponent > MAX_EXPONENT) {
          return x.signum() * POSITIVE_INFINITY;
        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashCodeTest.groovy

            def hashA = HashCode.fromString(a)
            def hashB = HashCode.fromString(b)
            def compareAB = hashA <=> hashB
            def compareBA = hashB <=> hashA
    
            expect:
            Math.signum(compareAB) == expected
            Math.signum(compareBA) == -expected
    
            where:
            a                                    | b                                    | expected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	argNum := state.argNums[formatArg]
    	if argNum <= 0 {
    		// Shouldn't happen, so catch it with prejudice.
    		panic("negative arg num")
    	}
    	if argNum < len(call.Args)-1 {
    		return true // Always OK.
    	}
    	if call.Ellipsis.IsValid() {
    		return false // We just can't tell; there could be many more arguments.
    	}
    	if argNum < len(call.Args) {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_openbsd_arm64.go

    	SYS_THRKILL        = 119 // { int sys_thrkill(pid_t tid, int signum, void *tcb); }
    	SYS_READV          = 120 // { ssize_t sys_readv(int fd, \
    	SYS_WRITEV         = 121 // { ssize_t sys_writev(int fd, \
    	SYS_KILL           = 122 // { int sys_kill(int pid, int signum); }
    	SYS_FCHOWN         = 123 // { int sys_fchown(int fd, uid_t uid, gid_t gid); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 14.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/IntMath.java

         * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of
         * p / q.
         *
         * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise.
         */
        int signum = 1 | ((p ^ q) >> (Integer.SIZE - 1));
        boolean increment;
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(rem == 0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. docs/de/docs/deployment/cloud.md

    Vielleicht möchten Sie deren Dienste ausprobieren und deren Anleitungen folgen:
    
    * <a href="https://docs.platform.sh/languages/python.html?utm_source=fastapi-signup&utm_medium=banner&utm_campaign=FastAPI-signup-June-2023" class="external-link" target="_blank">Platform.sh</a>
    * <a href="https://docs.porter.run/language-specific-guides/fastapi" class="external-link" target="_blank">Porter</a>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:30:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top