Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 28 for signum (0.04 seconds)

  1. android/guava/src/com/google/common/net/InetAddresses.java

       *     or IPv6 respectively
       */
      private static InetAddress fromBigInteger(BigInteger address, boolean isIpv6) {
        checkArgument(address.signum() >= 0, "BigInteger must be greater than or equal to 0");
    
        int numBytes = isIpv6 ? 16 : 4;
    
        byte[] addressBytes = address.toByteArray();
        byte[] targetCopyArray = new byte[numBytes];
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  2. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 18:27:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/arch/arch.go

    	instructions["JGE"] = x86.AJGE  /* greater than or equal (signed) (SF = OF) */
    	instructions["JGT"] = x86.AJGT  /* greater than (signed) (ZF = 0 && SF = OF) */
    	instructions["JHI"] = x86.AJHI  /* higher (unsigned) (CF = 0 && ZF = 0) */
    	instructions["JHS"] = x86.AJCC  /* alternate */
    	instructions["JL"] = x86.AJLT   /* alternate */
    	instructions["JLE"] = x86.AJLE  /* less than or equal (signed) (ZF = 1 || SF != OF) */
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 22K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<MyInt> pool = Interners.newWeakInterner();
        assertThat(pool.intern(canonical)).isSameInstanceAs(canonical);
    
        WeakReference<MyInt> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertThat(pool.intern(not)).isSameInstanceAs(not);
      }
    
      private static final class MyInt {
        private final int i;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<MyInt> pool = Interners.newWeakInterner();
        assertThat(pool.intern(canonical)).isSameInstanceAs(canonical);
    
        WeakReference<MyInt> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertThat(pool.intern(not)).isSameInstanceAs(not);
      }
    
      private static final class MyInt {
        private final int i;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  6. okhttp-tls/README.md

    Certificate Authorities
    -----------------------
    
    The above example uses a self-signed certificate. This is convenient for testing but not
    representative of real-world HTTPS deployment. To get closer to that we can use `HeldCertificate`
    to generate a trusted root certificate, an intermediate certificate, and a server certificate.
    We use `certificateAuthority(int)` to create certificates that can sign other certificates. The
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            for (int i = 0; i < readerThreadCount; i++) {
                final int threadIndex = i;
                readerThreads[i] = new Thread(() -> {
                    try {
                        startLatch.await(); // Wait for start signal
                        long endTime = System.currentTimeMillis() + testDurationMs;
                        while (System.currentTimeMillis() < endTime) {
                            observations[threadIndex].add(dataStore.alive);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *
     * <pre>{@code
     * class FIFOEntry<E extends Comparable<? super E>> implements Comparable<FIFOEntry<E>> {
     *   static final AtomicLong seq = new AtomicLong();
     *
     *   final long seqNum;
     *   final E entry;
     *
     *   public FIFOEntry(E entry) {
     *     seqNum = seq.getAndIncrement();
     *     this.entry = entry;
     *   }
     *
     *   public E getEntry() {
     *     return entry;
     *   }
     *
     *   public int compareTo(FIFOEntry<E> other) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
  9. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          TestCondition testCondition = create();
    
          ScheduledExecutorService scheduledPool = newScheduledThreadPool(1);
          // If signal() fails somehow, we should see a failed test, even without looking at the Future.
          Future<?> unused = scheduledPool.schedule(testCondition::signal, delay, unit);
    
          return testCondition;
        }
    
        static TestCondition create() {
          Lock lock = new ReentrantLock();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
Back to Top