Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 2,158 for Booleans (0.07 sec)

  1. guava/src/com/google/common/collect/Ordering.java

       * instead, since the rest of {@code Ordering} is mostly obsolete (as explained in the class
       * documentation).
       */
      public boolean isOrdered(Iterable<? extends T> iterable) {
        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ValueGraphTest.java

          assertThat(graph.inDegree(node)).isEqualTo(asGraph.inDegree(node));
          assertThat(graph.outDegree(node)).isEqualTo(asGraph.outDegree(node));
    
          for (Integer otherNode : graph.nodes()) {
            boolean hasEdge = graph.hasEdgeConnecting(node, otherNode);
            assertThat(hasEdge).isEqualTo(asGraph.hasEdgeConnecting(node, otherNode));
            assertThat(graph.edgeValueOrDefault(node, otherNode, null) != null).isEqualTo(hasEdge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Crc32cHashFunction.java

         * This algorithm is due to the paper "Everything we know about CRC but [are] afraid to forget"
         * by Kadatch and Jenkins, 2010.
         */
    
        Crc32cHasher() {
          super(16);
        }
    
        private boolean finished = false;
    
        /*
         * This trick allows us to avoid having separate states for "first four ints" and "all other
         * four int chunks."  The state we want after the first four bytes is
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
      boolean strictParsing = true;
    
      int initialCapacity = UNSET_INT;
      int concurrencyLevel = UNSET_INT;
      long maximumSize = UNSET_INT;
      long maximumWeight = UNSET_INT;
      @CheckForNull Weigher<? super K, ? super V> weigher;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      @Test
      fun requestMethodTraceIsNotCached() {
        testRequestMethod("TRACE", false)
      }
    
      private fun testRequestMethod(
        requestMethod: String,
        expectCached: Boolean,
        withOverride: Boolean = false,
      ) {
        // 1. Seed the cache (potentially).
        // 2. Expect a cache hit or miss.
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        return object : BaseMatcher<Long?>() {
          override fun describeTo(description: Description?) {
            description!!.appendText("> $value")
          }
    
          override fun matches(o: Any?): Boolean {
            return (o as Long?)!! > value
          }
        }
      }
    
      private fun matchesProtocol(protocol: Protocol?): Matcher<Response?> {
        return object : BaseMatcher<Response?>() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  7. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        }
                      });
        }
    
        @Override
        protected Multimap<K, V> delegate() {
          return unusableDelegate;
        }
    
        @Override
        public boolean put(K key, V value) {
          map.put(key, value);
          return true;
        }
    
        SetMultimap<K, V> build() {
          return Multimaps.forMap(map);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Queues.java

          int numElements,
          long timeout,
          TimeUnit unit) {
        Preconditions.checkNotNull(buffer);
        long deadline = System.nanoTime() + unit.toNanos(timeout);
        int added = 0;
        boolean interrupted = false;
        try {
          while (added < numElements) {
            // we could rely solely on #poll, but #drainTo might be more efficient when there are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         */
        public void setSessionKey(byte[] sessionKey) {
            this.sessionKey = sessionKey;
        }
    
        public byte[] toByteArray() {
            try {
                int flags = getFlags();
                boolean unicode = (flags & NTLMSSP_NEGOTIATE_UNICODE) != 0;
                String oem = unicode ? null : getOEMEncoding();
                String domainName = getDomain();
                byte[] domain = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  10. tests/test_application.py

                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "boolean"},
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                    }
                },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
Back to top