Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 408 for adjust (1.06 sec)

  1. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        ((DataOutputStream) out).writeUTF(str);
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/MutableValueGraph.java

     * @since 20.0
     */
    @Beta
    public interface MutableValueGraph<N, V> extends ValueGraph<N, V> {
    
      /**
       * Adds {@code node} if it is not already present.
       *
       * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        private static final Hashtable TAB = new Hashtable();
        private static long lastModified = 1L;
        private static int alt;
        private static LogStream log = LogStream.getInstance();
    
        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              CharStreams.copy(reader, sb);
            }
            return sb.toString();
          }
        },
        // It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING.  But it just isn't
        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/AsciiTest.java

        assertTrue(Ascii.equalsIgnoreCase(new String(IGNORED), new String(IGNORED)));
        // Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true
        assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1"));
        // Test chars just outside the alphabetic range ('A'-1 vs 'a'-1, 'Z'+1 vs 'z'+1)
        assertFalse(Ascii.equalsIgnoreCase("@", "`"));
        assertFalse(Ascii.equalsIgnoreCase("[", "{"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/DoubleUtils.java

        bits += signifRounded;
        /*
         * If signifRounded == 2^53, we'd need to set all of the significand bits to zero and add 1 to
         * the exponent. This is exactly the behavior we get from just adding signifRounded to bits
         * directly. If the exponent is MAX_DOUBLE_EXPONENT, we round up (correctly) to
         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/AsciiTest.java

        assertTrue(Ascii.equalsIgnoreCase(new String(IGNORED), new String(IGNORED)));
        // Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true
        assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1"));
        // Test chars just outside the alphabetic range ('A'-1 vs 'a'-1, 'Z'+1 vs 'z'+1)
        assertFalse(Ascii.equalsIgnoreCase("@", "`"));
        assertFalse(Ascii.equalsIgnoreCase("[", "{"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/Lmhosts.java

        private final Map<Name, NbtAddress> table = new HashMap<>();
        private long lastModified = 1L;
        private int alt;
    
        /**
         * This is really just for {@link jcifs.netbios.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

          throws InterruptedException, ExecutionException, TimeoutException {
        return delegate.invokeAny(wrapTasks(tasks), timeout, unit);
      }
    
      // The remaining methods just delegate.
    
      @Override
      public final void shutdown() {
        delegate.shutdown();
      }
    
      @Override
      @CanIgnoreReturnValue
      public final List<Runnable> shutdownNow() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            this.service = service;
            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        @Override
        int getBatchLimit(final byte command) {
            final int c = command & 0xFF;
            // why isn't this just return batchLimits[c]?
            switch (c) {
            case SMB_COM_CHECK_DIRECTORY:
                return batchLimits[0];
            case SMB_COM_CREATE_DIRECTORY:
                return batchLimits[2];
            case SMB_COM_DELETE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top