Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 492 for needs (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/math/DoubleUtils.java

        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
        } else if (exponent > MAX_EXPONENT) {
          return x.signum() * POSITIVE_INFINITY;
        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
         * easier, we pick out the top SIGNIFICAND_BITS + 2 bits, so we have one to help us round up or
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 5K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              // it is kind of lame that we need to construct a decoder to access this value.
              // if this is a concern we could add special cases for some known charsets (like utf8)
              // or we could avoid inputstreamreader and use the decoder api directly
              // TODO(lukes): in a real implementation we would need to handle overflow conditions
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

          required: true
    
      - type: textarea
        attributes:
          label: How do you want it to be improved?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Why do we need it to be improved?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

          entries[dstIndex] = entries[srcIndex];
          entries[srcIndex] = 0;
    
          // also need to update whoever's "next" pointer was pointing to the last entry place
          int tableIndex = smearedHash(key) & mask;
          int next = CompactHashing.tableGet(table, tableIndex);
          int srcNext = srcIndex + 1;
          if (next == srcNext) {
            // we need to update the root pointer
            CompactHashing.tableSet(table, tableIndex, dstIndex + 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        uniqueEntries.addAll(ms.entrySet());
        assertEquals(3, uniqueEntries.size());
      }
    
      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
      private static class EnumMultisetFactory {
        @Keep // used reflectively by testEquals
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

    import java.util.zip.ZipEntry
    import java.util.zip.ZipInputStream
    
    
    /**
     * This task will generate the list of relocated packages into a file that will in turn be used when generating the runtime shaded jars. All we need is a list of packages that need to be relocated, so
     * we'll make sure to filter the list of packages before generating the file.
     *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 15:53:18 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        /*
         * We need to wait for the runner to exit. It used to be that the runner would get stuck in the
         * busy loop when interrupt threw.
         *
         * While we're at it, we confirm that the interrupt happened as expected.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/EnumBiMap.java

     *
     * @author Mike Bostock
     * @since 2.0
     */
    @GwtCompatible
    @J2ktIncompatible
    public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>> extends AbstractBiMap<K, V> {
      /*
       * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
       * could use null, but that messes with our nullness checking, including under J2KT. We could
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        /*
         * We need to wait for the runner to exit. It used to be that the runner would get stuck in the
         * busy loop when interrupt threw.
         *
         * While we're at it, we confirm that the interrupt happened as expected.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/EnumBiMap.java

     *
     * @author Mike Bostock
     * @since 2.0
     */
    @GwtCompatible
    @J2ktIncompatible
    public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>> extends AbstractBiMap<K, V> {
      /*
       * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
       * could use null, but that messes with our nullness checking, including under J2KT. We could
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top