Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for Anabel (0.17 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testTransform_genericsNull() throws Exception {
        ListenableFuture<?> nullFuture = immediateFuture(null);
        ListenableFuture<?> transformedFuture = transform(nullFuture, constant(null), directExecutor());
        assertNull(getDone(transformedFuture));
      }
    
      @J2ktIncompatible // TODO(b/324550390): Enable
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedBytes.java

            return "UnsignedBytes.lexicographicalComparator() (pure Java version)";
          }
        }
    
        /**
         * Returns the Unsafe-using Comparator, or falls back to the pure-Java implementation if unable
         * to do so.
         */
        static Comparator<byte[]> getBestComparator() {
          try {
            Class<?> theClass = Class.forName(UNSAFE_COMPARATOR_NAME);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       * @return {@code true} if the argument is a valid IP string literal
       */
      public static boolean isInetAddress(String ipString) {
        return ipStringToBytes(ipString) != null;
      }
    
      /** Returns {@code null} if unable to parse into a {@code byte[]}. */
      @CheckForNull
      private static byte[] ipStringToBytes(String ipStringParam) {
        String ipString = ipStringParam;
        // Make a first pass to categorize the characters in this string.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  4. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

      - type: textarea
        attributes:
          label: 1. What are you trying to do?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: 2. What's the best code you can write to accomplish that without the new feature?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: 3. What would that same code look like if we added your feature?
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        MAX(Long.MAX_VALUE, "+oo");
    
        final long millis;
        final String label;
    
        Timeout(long millis, String label) {
          this.millis = millis;
          this.label = label;
        }
    
        @Override
        public String toString() {
          return label;
        }
      }
    
      /** Convenient subsets of the {@link Timeout} enumeration for specifying scenario outcomes. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

        if (!from.renameTo(to)) {
          copy(from, to);
          if (!from.delete()) {
            if (!to.delete()) {
              throw new IOException("Unable to delete " + to);
            }
            throw new IOException("Unable to delete " + from);
          }
        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/IoTestCase.java

        if (testDir != null) {
          return testDir;
        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

           * crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use
           * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so
           * as a compromise, we enable the optimization only on platforms that we specifically know to
           * work.
           *
           * In the future, the use of Unsafe.getLong() should be replaced by ByteBuffer.getLong(),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

       * encoding of each part occupies at least two bytes (dot plus label externally, length byte plus
       * label internally). Thus, if all labels have the minimum size of one byte, 127 of them will fit.
       */
      private static final int MAX_PARTS = 127;
    
      /**
       * Maximum length of a full domain name, including separators, and leaving room for the root
       * label. See <a href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

     * Caffeine}</a> class. Caffeine offers better performance, more features (including asynchronous
     * loading), and fewer <a
     * href="https://github.com/google/guava/issues?q=is%3Aopen+is%3Aissue+label%3Apackage%3Dcache+label%3Atype%3Ddefect">bugs</a>.
     *
     * <p>Caffeine defines its own interfaces (<a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top