Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 193 for bignum (0.18 sec)

  1. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java

                assertEquals(1, Integer.signum(v1.compareTo(v2)), "expected " + v1 + " > " + v2);
                assertEquals(-1, Integer.signum(v2.compareTo(v1)), "expected " + v2 + " < " + v1);
                assertNotEquals(v1, v2, "expected " + v1 + " != " + v2);
                assertNotEquals(v2, v1, "expected " + v2 + " != " + v1);
            } else if (expected < 0) {
                assertEquals(-1, Integer.signum(v1.compareTo(v2)), "expected " + v1 + " < " + v2);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceReportScenario.groovy

                return Double.NEGATIVE_INFINITY
            }
            def firstExecution = currentExecutions[0]
            double signum = Math.signum(firstExecution.differencePercentage)
            if (signum == 0.0d) {
                signum = -1.0
            }
            return firstExecution.confidencePercentage * signum
        }
    
        double getDifferencePercentage() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/catchpanic.go

    //go:build !plan9 && !windows
    // +build !plan9,!windows
    
    package main
    
    /*
    #include <signal.h>
    #include <stdlib.h>
    #include <string.h>
    
    static void abrthandler(int signum) {
    	if (signum == SIGABRT) {
    		exit(0);  // success
    	}
    }
    
    void registerAbortHandler() {
    	struct sigaction act;
    	memset(&act, 0, sizeof act);
    	act.sa_handler = abrthandler;
    	sigaction(SIGABRT, &act, NULL);
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 993 bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/job.yaml

    apiVersion: batch/v1
    kind: Job
    metadata:
      name: pi
    spec:
      template:
        metadata:
          name: pi
        spec:
          containers:
          - name: pi
            image: perl
            command: ["perl",  "-Mbignum=bpi", "-wle", "print bpi(2000)"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 261 bytes
    - Viewed (0)
  5. src/runtime/testdata/testprogcgo/sigfwd.go

    sig_atomic_t expectCSigsegv;
    int *sigfwdP;
    
    static void sigsegv() {
    	expectCSigsegv = 1;
    	*sigfwdP = 1;
    	fprintf(stderr, "ERROR: C SIGSEGV not thrown on caught?.\n");
    	exit(2);
    }
    
    static void segvhandler(int signum) {
    	if (signum == SIGSEGV) {
    		if (expectCSigsegv == 0) {
    			fprintf(stderr, "SIGSEGV caught in C unexpectedly\n");
    			exit(1);
    		}
    		fprintf(stdout, "OK\n");
    		exit(0);  // success
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 17:06:49 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); }
    	SYS_SYNC                     = 36  // { int sync(void); }
    	SYS_KILL                     = 37  // { int kill(int pid, int signum); }
    	SYS_GETPPID                  = 39  // { pid_t getppid(void); }
    	SYS_DUP                      = 41  // { int dup(u_int fd); }
    	SYS_PIPE                     = 42  // { int pipe(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_freebsd_sigaction.c

    typedef struct {
            uint32_t __bits[_SIG_WORDS];
    } go_sigset_t;
    typedef struct {
    	uintptr_t handler;
    	int32_t flags;
    	go_sigset_t mask;
    } go_sigaction_t;
    
    int32_t
    x_cgo_sigaction(intptr_t signum, const go_sigaction_t *goact, go_sigaction_t *oldgoact) {
    	int32_t ret;
    	struct sigaction act;
    	struct sigaction oldact;
    	size_t i;
    
    	_cgo_tsan_acquire();
    
    	memset(&act, 0, sizeof act);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/MathPreconditions.java

          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static BigInteger checkPositive(String role, BigInteger x) {
        if (x.signum() <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static int checkNonNegative(String role, int x) {
        if (x < 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_sigaction.c

    } go_sigaction_t;
    
    // SA_RESTORER is part of the kernel interface.
    // This is Linux i386/amd64 specific.
    #ifndef SA_RESTORER
    #define SA_RESTORER 0x4000000
    #endif
    
    int32_t
    x_cgo_sigaction(intptr_t signum, const go_sigaction_t *goact, go_sigaction_t *oldgoact) {
    	int32_t ret;
    	struct sigaction act;
    	struct sigaction oldact;
    	size_t i;
    
    	_cgo_tsan_acquire();
    
    	memset(&act, 0, sizeof act);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_freebsd_386.go

    	SYS_FCHFLAGS                 = 35  // { int fchflags(int fd, u_long flags); }
    	SYS_SYNC                     = 36  // { int sync(void); }
    	SYS_KILL                     = 37  // { int kill(int pid, int signum); }
    	SYS_GETPPID                  = 39  // { pid_t getppid(void); }
    	SYS_DUP                      = 41  // { int dup(u_int fd); }
    	SYS_PIPE                     = 42  // { int pipe(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
Back to top