- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,292 for JPoint (1.29 sec)
-
guava/src/com/google/common/primitives/UnsignedBytes.java
* @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ public static int compare(byte a, byte b) { return toInt(a) - toInt(b); } /** * Returns the least value present in {@code array}, treating values as unsigned. * * @param array a <i>nonempty</i> array of {@code byte} values
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 18.3K bytes - Viewed (0) -
test/fixedbugs/issue11371.go
// Issue 11371 (cmd/compile: meaningless error message "truncated to // integer") package issue11371 const a int = 1.1 // ERROR "constant 1.1 truncated to integer|floating-point constant truncated to integer|truncated to int|truncated" const b int = 1e20 // ERROR "overflows int|integer constant overflow|truncated to int|truncated"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 23 05:11:09 UTC 2021 - 946 bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
// This is to avoid a situation where prefix is '/tmp/fsmount' // and mount path is /tmp/fs. In such a scenario we need to check for // `/tmp/fs/` to be a common prefix amount other mounts. mpath := strings.TrimSuffix(mount.Path, "/") + "/" ppath := strings.TrimSuffix(path, "/") + "/" if strings.HasPrefix(mpath, ppath) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentedGroovyCallsHelper.java
/** * Executes the given {@code callable} in the context of an entry point produced from entering a dynamically dispatched * call described by the {@code callableName} and {@code kind} * from a class identified by {@code consumerClass}. * After running the callable, ensures that the entry point leaves the context and returns the callable's result. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:59 UTC 2023 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto
// // Examples: // // - 1.5 will be serialized as "1500m" // - 1.5Gi will be serialized as "1536Mi" // // Note that the quantity will NEVER be internally represented by a // floating point number. That is the whole point of this exercise. // // Non-canonical values will still parse as long as they are well formed, // but will be re-emitted in their canonical form. (So always use canonical // form, or don't diff.) //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 3.9K bytes - Viewed (0) -
src/runtime/cgo/asm_arm.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // Set the x_crosscall2_ptr C function pointer variable point to crosscall2. // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2 // Use a local trampoline, to avoid taking the address of a dynamically exported // function. TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 2.2K bytes - Viewed (0) -
src/os/types_windows.go
// FILE_FLAG_OPEN_REPARSE_POINT flag when opening the file if it is a reparse // point.” // // And per https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew, // “If the file is not a reparse point, then this flag is ignored.” // // So we set FILE_FLAG_OPEN_REPARSE_POINT unconditionally, since we want // information about the reparse point itself. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 11.7K bytes - Viewed (0) -
src/math/mod.go
// Copyright 2009-2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package math /* Floating-point mod function. */ // Mod returns the floating-point remainder of x/y. // The magnitude of the result is less than y and its // sign agrees with that of x. // // Special cases are: // // Mod(±Inf, y) = NaN // Mod(NaN, y) = NaN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 903 bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
public void testToInt() { assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0); assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1); assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127); assertThat(UnsignedBytes.toInt((byte) -128)).isEqualTo(128); assertThat(UnsignedBytes.toInt((byte) -127)).isEqualTo(129); assertThat(UnsignedBytes.toInt((byte) -1)).isEqualTo(255); } public void testCheckedCast() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 13.4K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java
} major = toInt(defines.get("__clang_major__")); minor = toInt(defines.get("__clang_minor__")); patch = toInt(defines.get("__clang_patchlevel__")); break; case GCC: if (defines.containsKey("__clang__")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 15 06:39:06 UTC 2024 - 13K bytes - Viewed (0)