Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 997 for know (0.02 seconds)

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

                  }
                });
        List<Object> buf = new ArrayList<>();
        int elements = Queues.drainUninterruptibly(q, buf, 100, MAX_VALUE, NANOSECONDS);
        // so when this drains all elements, we know the thread has also been interrupted in between
        assertTrue(Thread.interrupted());
        assertEquals(100, elements);
        assertEquals(100, buf.size());
      }
    
      public void testNewLinkedBlockingDequeCapacity() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

      }
    
      /**
       * Returns whether the source has zero bytes. The default implementation first checks {@link
       * #sizeIfKnown}, returning true if it's known to be zero and false if it's known to be non-zero.
       * If the size is not known, it falls back to opening a stream and checking for EOF.
       *
       * <p>Note that, in cases where {@code sizeIfKnown} returns zero, it is <i>possible</i> that bytes
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  3. docs/en/docs/deployment/docker.md

    Using Linux containers has several advantages including **security**, **replicability**, **simplicity**, and others.
    
    /// tip
    
    In a hurry and already know this stuff? Jump to the [`Dockerfile` below 👇](#build-a-docker-image-for-fastapi).
    
    ///
    
    <details>
    <summary>Dockerfile Preview 👀</summary>
    
    ```Dockerfile
    FROM python:3.9
    
    WORKDIR /code
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 12:58:04 GMT 2025
    - 29.5K bytes
    - Click Count (1)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                }
                candidateSource = new FileModelSource(candidateModel.getPomFile());
            }
    
            //
            // TODO jvz Why isn't all this checking the job of the duty of the workspace resolver, we know that we
            // have a model that is suitable, yet more checks are done here and the one for the version is problematic
            // before because with parents as ranges it will never work in this scenario.
            //
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/first-steps.md

    ---
    
    You could also define it as a normal function instead of `async def`:
    
    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note
    
    If you don't know the difference, check the [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    ///
    
    ### Step 5: return the content { #step-5-return-the-content }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CollectCollectors.java

              BinaryOperator<V> mergeFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        // not UNORDERED because we don't know if mergeFunction is commutative
        return Collector.of(
            () -> new EnumMapAccumulator<K, V>(mergeFunction),
            (accum, t) -> {
              /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                            // known maximally specific, so remove the old maximum.
                            maximal.remove();
                            break;
    
                        case LESS_SPECIFIC:
                            // This method is less specific than some of the
                            // currently known maximally specific methods, so we
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/math/LongMath.java

             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned long, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
             * halfSquare - sqrtFloor <= x < halfSquare + sqrtFloor + 1
             * so |x - halfSquare| <= sqrtFloor.  Therefore, it's safe to treat x - halfSquare as a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 03 21:01:09 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  9. cmd/erasure-object.go

    				Object:    fi.Name,
    				VersionID: fi.VersionID,
    				Queued:    time.Now(),
    				SetIndex:  er.setIndex,
    				PoolIndex: er.poolIndex,
    			})
    		}
    	}()
    
    	validResp := 0
    	totalResp := 0
    
    	// minDisks value is only to reduce the number of calls
    	// to the disks; this value is not accurate because we do
    	// not know the storage class of the object yet
    	minDisks := 0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/hash/Crc32cHashFunction.java

         * and then to XOR them together.  The strideTable enables us to hash an int followed by 12
         * zero bytes (3 ints), while the byteTable is for advancing one byte at a time.
         * 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;
    
        /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 21.2K bytes
    - Click Count (0)
Back to Top