Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 2,462 for wong (0.02 seconds)

  1. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36
            assertEquals(36, info.size());
        }
    
        @Test
        @DisplayName("Test size calculation with long filename")
        void testSizeWithLongFilename() {
            String longFileName = "verylongfilename_with_many_characters.txt";
            FileRenameInformation2 info = new FileRenameInformation2(longFileName, false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          }
    
        private fun uppercase(original: Source): Source {
          return object : ForwardingSource(original) {
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              val mixedCase = Buffer()
              val count = original.read(mixedCase, byteCount)
              sink.writeUtf8(mixedCase.readUtf8().uppercase())
              return count
            }
          }
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. 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;
     *   }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Strings.java

          return (count == 0) ? "" : string;
        }
    
        // IF YOU MODIFY THE CODE HERE, you must update StringsRepeatBenchmark
        int len = string.length();
        long longSize = (long) len * (long) count;
        int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange
                long expectedLength = 1024L;
                doReturn(expectedLength).when(smbFile).length();
    
                // Act & Assert
                assertEquals(expectedLength, smbFile.length());
            }
    
            @Test
            void testLastModified() throws SmbException {
                // Arrange
                long expectedTime = System.currentTimeMillis();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exception/UnsupportedSearchException.java

     * This exception indicates that the requested search functionality is not available or supported.
     */
    public class UnsupportedSearchException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new UnsupportedSearchException with the specified message.
         *
         * @param msg the exception message
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/exception/IORuntimeException.java

    import java.io.IOException;
    
    /**
     * Exception that wraps {@link IOException}.
     *
     * @author higa
     */
    public class IORuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1533554330702215389L;
    
        /**
         * Creates a {@link IORuntimeException}.
         *
         * @param cause
         *            The cause of the exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/NamingRuntimeException.java

    import javax.naming.NamingException;
    
    /**
     * Exception that wraps {@link NamingException}.
     *
     * @author higa
     */
    public class NamingRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3176447530746274091L;
    
        /**
         * Creates a {@link NamingRuntimeException}.
         *
         * @param cause
         *            The cause of the exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/exception/NoSuchPaddingRuntimeException.java

    /**
     * Exception that wraps {@link NoSuchPaddingException}.
     *
     * @author shinsuke
     */
    public class NoSuchPaddingRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3176447530746274091L;
    
        /**
         * Creates a {@link NoSuchPaddingRuntimeException}.
         *
         * @param cause the underlying exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ComputationException.java

      /** Creates a new instance with the given cause. */
      public ComputationException(@Nullable Throwable cause) {
        super(cause);
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top