- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 203 for isEnum (0.21 sec)
-
test/typeparam/listimp.dir/main.go
panic(fmt.Sprintf("got %s, want %s", got, want)) } j3 := &a.ListNum[int]{nil, 1} j2 := &a.ListNum[int]{j3, 32} j1 := &a.ListNum[int]{j2, 2} if got, want := j1.ClippedLargest(), 2; got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) } g3 := &a.ListNum[float64]{nil, 13.5} g2 := &a.ListNum[float64]{g3, 1.2} g1 := &a.ListNum[float64]{g2, 4.5} if got, want := g1.ClippedLargest(), 4.5; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 1.4K bytes - Viewed (0) -
test-site/public/javascripts/suggestor.js
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 14.6K bytes - Viewed (0) -
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) -
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) -
src/main/webapp/js/suggestor.js
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Mar 30 05:45:24 UTC 2023 - 13.3K bytes - Viewed (0) -
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) -
src/cmd/link/internal/ld/xcoff.go
Noffset uint32 // Offset of the name in string table or .debug section Nscnum int16 // Section number of symbol Ntype uint16 // Basic and derived type specification Nsclass uint8 // Storage class of symbol Nnumaux int8 // Number of auxiliary entries } const SYMESZ = 18 const ( // Nscnum N_DEBUG = -2 N_ABS = -1 N_UNDEF = 0 //Ntype SYM_V_INTERNAL = 0x1000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
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) -
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) -
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)