Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2121 - 2130 of 2,797 for volume (0.13 sec)

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

      private static final class RepeatedStringValueOfFunction
          implements Function<Integer, List<String>> {
        @Override
        public List<String> apply(Integer from) {
          String value = String.valueOf(from);
          return ImmutableList.of(value, value);
        }
      }
    
      public void testTransformAndConcat() {
        List<Integer> input = asList(1, 2, 3);
        Iterable<String> result =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * doesn't include framing overhead. If compression is enabled, uncompressed messages size
       * is used to calculate this value. It also doesn't include any bytes buffered by the operating
       * system or network intermediaries. This method returns 0 if no messages are waiting in the
       * queue. If may return a nonzero value after the web socket has been canceled; this indicates
       * that enqueued messages were not transmitted.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        }
        return ~crc;
      }
    
      /**
       * Verifies that the crc of an array of byte data matches the expected value.
       *
       * @param expectedCrc the expected crc value.
       * @param data the data to run the checksum on.
       */
      private static void assertCrc(int expectedCrc, byte[] data) {
        int actualCrc = Hashing.crc32c().hashBytes(data).asInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        }
    
    
        public byte[] getBuffer () {
            return this.buf;
        }
    
    
        public int align ( int boundary, byte value ) {
            int n = align(boundary);
            int i = n;
            while ( i > 0 ) {
                this.buf[ this.index - i ] = value;
                i--;
            }
            return n;
        }
    
    
        public void writeOctetArray ( byte[] b, int i, int l ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/bin/mvn

    #   MAVEN_DEBUG_OPTS    (Optional) Specify the debug options to use. Default value is "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${MAVEN_DEBUG_ADDRESS}" when --debug is used
    #   MAVEN_DEBUG_ADDRESS (Optional) Set the debug address. Default value is "localhost:8000"
    # -----------------------------------------------------------------------------
    
    if [ -z "$MAVEN_SKIP_RC" ] ; then
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        }
      }
    
      /**
       * Sets a default value that can be used for any parameter of type {@code type}. Returns this
       * object.
       */
      @CanIgnoreReturnValue
      public <T> NullPointerTester setDefault(Class<T> type, T value) {
        defaults.putInstance(type, checkNotNull(value));
        return this;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return super.hashCode();
        }
    
        @Override
        public V setValue(V value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.setValue(value);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      static class TestMap<K, V> extends SynchronizedMapTest.TestMap<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

        assertEquals(1, getMultiset().count(null));
      }
    
      public void testCount_wrongType() {
        assertEquals(
            "multiset.count(wrongType) didn't return 0", 0, getMultiset().count(WrongType.VALUE));
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/LruHashSet.java

     *
     */
    public class LruHashSet<E> extends AbstractSet<E> implements Set<E>, java.io.Serializable {
        private static final long serialVersionUID = 1L;
    
        private final LruHashMap<E, Object> map;
    
        // Dummy value to associate with an Object in the backing Map
        private static final Object PRESENT = new Object();
    
        public LruHashSet(final int limitSize) {
            map = new LruHashMap<>(limitSize);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_fields/test_tutorial001.py

            {
                "detail": [
                    {
                        "ctx": {"limit_value": 0},
                        "loc": ["body", "item", "price"],
                        "msg": "ensure this value is greater than 0",
                        "type": "value_error.number.not_gt",
                    }
                ]
            }
        )
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top