- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 187 for isEnum (0.13 sec)
-
src/os/signal/signal_unix.go
func loop() { for { process(syscall.Signal(signal_recv())) } } func init() { watchSignalLoop = loop } const ( numSig = 65 // max across all systems ) func signum(sig os.Signal) int { switch sig := sig.(type) { case syscall.Signal: i := int(sig) if i < 0 || i >= numSig { return -1 } return i default: return -1 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 1K bytes - Viewed (0) -
pkg/proxy/ipvs/testing/util.go
) // ExpectedVirtualServer is the expected ipvs rules with VirtualServer and RealServer // VSNum is the expected ipvs virtual server number // IP:Port protocol is the expected ipvs vs info // RS is the RealServer of this expected VirtualServer type ExpectedVirtualServer struct { VSNum int IP string Port uint16 Protocol string RS []ExpectedRealServer }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 1.6K bytes - Viewed (0) -
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) -
hack/make-rules/test.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 10.8K bytes - Viewed (0) -
src/debug/elf/file.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0) -
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) -
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) -
src/syscall/syscall_darwin.go
//go:linkname utimensat //sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) /* * Wrapped */ //sys kill(pid int, signum int, posix int) (err error) func Kill(pid int, signum Signal) (err error) { return kill(pid, int(signum), 1) } /* * Exposed directly */ //sys Access(path string, mode uint32) (err error) //sys Adjtime(delta *Timeval, olddelta *Timeval) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
src/syscall/zsysnum_openbsd_ppc64.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: Tue Aug 22 03:24:15 UTC 2023 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/math/BigDecimalMath.java
@Override double roundToDoubleArbitrarily(BigDecimal bigDecimal) { return bigDecimal.doubleValue(); } @Override int sign(BigDecimal bigDecimal) { return bigDecimal.signum(); } @Override BigDecimal toX(double d, RoundingMode mode) { return new BigDecimal(d); } @Override BigDecimal minus(BigDecimal a, BigDecimal b) { return a.subtract(b);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0)