Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1481 - 1490 of 1,909 for Dong (0.04 sec)

  1. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      public void testHash_hashesCorrectlyForSkipping() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        long numOfByteSkipped = in.skip(2);
        assertEquals(2, numOfByteSkipped);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(2, numOfByteRead);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/StandardRowSortedTable.java

          checkNotNull(fromKey);
          return new StandardRowSortedTable<R, C, V>(sortedBackingMap().tailMap(fromKey), factory)
              .rowMap();
        }
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * </ul>
     *
     * <p>As such, the CycleDetectingLockFactory may not be suitable for performance-critical
     * applications which involve tightly-looped or deeply-nested locking algorithms.
     *
     * @author Darick Tong
     * @since 13.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class CycleDetectingLockFactory {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], 0, 16));
        assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], 0, -1));
      }
    
      /**
       * This test creates a long random sequence of inputs, then a lot of differently configured sinks
       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            PropertiesUtil.load(properties, url);
        }
    
        private static class IOExceptionOccurProperties extends Properties {
    
            /**
             *
             */
            private static final long serialVersionUID = 1L;
    
            @Override
            public synchronized void load(final InputStream inStream) throws IOException {
                throw new IOException("load");
            }
    
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                            responseData.setMimeType(mimeTypeHelper.getContentType(null, file.getName()));
                        }
    
                        if (contentLengthHelper != null) {
                            final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                            if (responseData.getContentLength() > maxLength) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

        }
    
    
        /**
         * 
         * @param cfg
         * @param t
         * @param dst
         * @param dstIndex
         */
        public static void writeUTime ( Configuration cfg, long t, byte[] dst, int dstIndex ) {
            if ( t == 0L || t == 0xFFFFFFFFFFFFFFFFL ) {
                SMBUtil.writeInt4(0xFFFFFFFF, dst, dstIndex);
                return;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

        static final int FLAGS_OFFSET = 9;
        static final int SIGNATURE_OFFSET = 14;
        static final int TID_OFFSET = 24;
        static final int SMB1_HEADER_LENGTH = 32;
    
        static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
    
        static final String DEFAULT_OEM_ENCODING = "Cp850";
    
        static final int FOREVER = -1;
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Floats.java

       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static float[] concat(float[]... arrays) {
        long length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
        float[] result = new float[checkNoOverflow(length)];
        int pos = 0;
        for (float[] array : arrays) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Floats.java

       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static float[] concat(float[]... arrays) {
        long length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
        float[] result = new float[checkNoOverflow(length)];
        int pos = 0;
        for (float[] array : arrays) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top