- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for signum (0.04 seconds)
-
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
int i = rnd.nextInt(left.length); left[i] ^= (byte) (1 + rnd.nextInt(255)); assertThat(signum(comparator1.compare(left, right))) .isEqualTo(signum(UnsignedBytes.compare(left[i], right[i]))); assertThat(signum(comparator2.compare(left, right))) .isEqualTo(signum(UnsignedBytes.compare(left[i], right[i]))); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
@SuppressWarnings("InlineMeInliner") public void testCompare() { for (char x : VALUES) { for (char y : VALUES) { assertWithMessage("%s, %s", x, y) .that(Math.signum(Chars.compare(x, y))) .isEqualTo(Math.signum(Character.compare(x, y))); } } } public void testContains() { assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 25.9K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts
"com.github.jnr:jnr-constants" to setOf( // For signal codes "jnr.constants.platform.Signal", "jnr.constants.platform.aix.Signal", "jnr.constants.platform.darwin.Signal", "jnr.constants.platform.freebsd.Signal", "jnr.constants.platform.openbsd.Signal", "jnr.constants.platform.linux.Signal", "jnr.constants.platform.solaris.Signal", "jnr.constants.Constant",
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 25 16:18:05 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
Interner<MyInt> pool = Interners.newWeakInterner(); assertSame(canonical, pool.intern(canonical)); WeakReference<MyInt> signal = new WeakReference<>(canonical); canonical = null; // Hint to the JIT that canonical is unreachable GcFinalization.awaitClear(signal); assertSame(not, pool.intern(not)); } private static final class MyInt { private final int i; MyInt(int i) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
Interner<MyInt> pool = Interners.newWeakInterner(); assertSame(canonical, pool.intern(canonical)); WeakReference<MyInt> signal = new WeakReference<>(canonical); canonical = null; // Hint to the JIT that canonical is unreachable GcFinalization.awaitClear(signal); assertSame(not, pool.intern(not)); } private static final class MyInt { private final int i; MyInt(int i) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 4.3K bytes - Click Count (0) -
docs/works_with_okhttp.md
* ⬜️ [Moshi](https://github.com/square/moshi): A modern JSON library for Android and Java. * [Ok2Curl](https://github.com/mrmike/Ok2Curl): Convert OkHttp requests into curl logs. * [OkHttp AWS Signer](https://github.com/babbel/okhttp-aws-signer): AWS V4 signing algorithm for OkHttp requests * [okhttp-digest](https://github.com/rburgst/okhttp-digest): A digest authenticator for OkHttp.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 26 07:59:38 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
* @return the result of script evaluation, or null if the template is empty or evaluation fails * @throws JobProcessingException if the script explicitly throws this exception * (allows scripts to signal job-specific errors that should propagate) */ @Override public Object evaluate(final String template, final Map<String, Object> paramMap) { // Null-safety: return null for blank templatesCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.5K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
// Create multiple threads that all try to connect simultaneously for (int i = 0; i < threadCount; i++) { new Thread(() -> { try { startLatch.await(); // Wait for signal to start conn.connect(); successCount.incrementAndGet(); } catch (Exception e) { synchronized (exceptions) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 14.1K bytes - Click Count (0) -
CONTRIBUTING.md
If you didn't sign off your commits before creating the pull request, you can fix that after the fact. To sign off a single commit: `git commit --amend --signoff` To sign off one or multiple commits: `git rebase --signoff origin/master`
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Nov 25 06:57:22 GMT 2025 - 19K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
// Create multiple threads that all try to connect simultaneously for (int i = 0; i < threadCount; i++) { new Thread(() -> { try { startLatch.await(); // Wait for signal to start conn.connect(); successCount.incrementAndGet(); } catch (Exception e) { synchronized (exceptions) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 14.4K bytes - Click Count (0)