Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for reply (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        private static final long serialVersionUID = 0;
      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
        int unused = create().size();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
     * class MySubtypeTests extends SubtypeTester {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Queues.java

         * the timeout arbitrarily inaccurate, given a queue that is slow to drain).
         */
        long deadline = System.nanoTime() + unit.toNanos(timeout);
        int added = 0;
        while (added < numElements) {
          // we could rely solely on #poll, but #drainTo might be more efficient when there are multiple
          // elements already available (e.g. LinkedBlockingQueue#drainTo locks only once)
          added += q.drainTo(buffer, numElements - added);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Joiner.java

         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
         * We rely on checkers to implement special cases to catch dangerous calls to join(), etc. based
         * on what they know about the particular Joiner instances the calls are performed on.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /**
         * 
         */
        public static final int SMB2_FLAGS_DFS_OPERATIONS = 0x10000000;
        /**
         * 
         */
        public static final int SMB2_FLAGS_REPLAY_OPERATION = 0x20000000;
    
        private int command;
        private int flags;
        private int length, headerStart, wordCount, byteCount;
    
        private byte[] signature = new byte[16];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                        log.println( "byteCount=" + byteCount +
                                " but readBytesWireFormat returned " + n );
                    }
                }
                // Don't think we can rely on n being correct here. Must use byteCount.
                // Last paragraph of section 3.13.3 eludes to this.
    
                bufferIndex += byteCount;
            }
    
            length = bufferIndex - start;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       *
       * <p>Under Android VMs, the methods for retrieving type-use annotations don't exist. This means
       * that {@link NullPointerTester} may misbehave under Android when used on classes that rely on
       * type-use annotations.
       *
       * <p>Under j2objc, the necessary APIs exist, but some (perhaps all) return stub values, like
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

            ResourceInfo that = (ResourceInfo) obj;
            return resourceName.equals(that.resourceName) && loader == that.loader;
          }
          return false;
        }
    
        // Do not change this arbitrarily. We rely on it for sorting ResourceInfo.
        @Override
        public String toString() {
          return resourceName;
        }
      }
    
      /**
       * Represents a class that can be loaded through {@link #load}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

                    if ( log.isTraceEnabled() ) {
                        log.trace("byteCount=" + this.byteCount + " but readBytesWireFormat returned " + n);
                    }
                }
                // Don't think we can rely on n being correct here. Must use byteCount.
                // Last paragraph of section 3.13.3 eludes to this.
    
                bufferIndex += this.byteCount;
            }
    
            int len = bufferIndex - start;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
Back to top