Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 642 for calling (0.24 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

          fail("calling setCount() with a negative count should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testSetCount_negative_removeUnsupported() {
        try {
          setCountNoCheckReturnValue(e3(), -1);
          fail(
              "calling setCount() with a negative count should throw "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

          fail("calling setCount() with a negative count should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testSetCount_negative_removeUnsupported() {
        try {
          setCountNoCheckReturnValue(e3(), -1);
          fail(
              "calling setCount() with a negative count should throw "
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbWatchHandle.java

         * implementations.
         * 
         * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling
         * this method should provide all changes (size of that buffer can be adjusted through
         * {@link jcifs.Configuration#getNotifyBufferSize()}).
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        private int crc2 = 0;
        private int crc3 = 0;
    
        @Override
        protected void process(ByteBuffer bb) {
          if (finished) {
            throw new IllegalStateException(
                "The behavior of calling any method after calling hash() is undefined.");
          }
          while (bb.remaining() >= 16) {
            crc0 = computeForWord(crc0);
            crc1 = computeForWord(crc1);
            crc2 = computeForWord(crc2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar

    Acquire a reference to an instance of org.apache.commons.logging.Log, by calling the factory method LogFactory.getInstance(String name). Your application can contain references to multiple loggers that are used for different purposes. A typical scenario for a server application is to have each major component of the server use its own Log instance. Cause messages to be logged (if the corresponding detail level is enabled) by calling appropriate methods (trace(), debug(), info(), warn(), error, and fatal())....
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 37.1K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt

    import mockwebserver3.Stream
    import mockwebserver3.StreamHandler
    import okio.utf8Size
    
    private typealias Action = (Stream) -> Unit
    
    /**
     * A scriptable request/response conversation. Create the script by calling methods like
     * [receiveRequest] in the sequence they are run.
     */
    class MockStreamHandler : StreamHandler {
      private val actions = LinkedBlockingQueue<Action>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/encoder.md

        ```Python hl_lines="5  22"
        {!> ../../../docs_src/encoder/tutorial001.py!}
        ```
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    The result of calling it is something that can be encoded with the Python standard <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableEnumSet.java

            return new ImmutableEnumSet<>(set);
        }
      }
    
      /*
       * Notes on EnumSet and <E extends Enum<E>>:
       *
       * This class isn't an arbitrary ForwardingImmutableSet because we need to
       * know that calling {@code clone()} during deserialization will return an
       * object that no one else has a reference to, allowing us to guarantee
       * immutability. Hence, we support only {@link EnumSet}.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        if (digits == 0) {
          return new BigInteger(1, RANDOM_SOURCE);
        } else {
          return new BigInteger(digits, RANDOM_SOURCE).setBit(digits);
        }
      }
    
      /**
       * Equivalent to calling randomPositiveBigInteger(numBits) and then flipping the sign with 50%
       * probability.
       */
      static BigInteger randomNonZeroBigInteger(int numBits) {
        BigInteger result = randomPositiveBigInteger(numBits);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

       * Returns the index of the first matching BMP character in a character sequence, or {@code -1} if
       * no matching character is present.
       *
       * <p>The default implementation iterates over the sequence in forward order calling {@link
       * #matches} for each character.
       *
       * @param sequence the character sequence to examine from the beginning
       * @return an index, or {@code -1} if no character matches
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top