Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 959 for Chan (0.03 seconds)

  1. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * with underutilization, then we want stored permits to be given out /faster/ than fresh ones,
       * because underutilization = free resources for the taking. If we are primarily interested to
       * deal with overflow, then stored permits could be given out /slower/ than fresh ones. Thus, we
       * require a (different in each case) function that translates storedPermits to throttling time.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Internal.java

       */
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.eventspy;
    
    /**
     * A skeleton eventspy that does nothing other than helping implementors.
     * @since 3.0.2
     */
    public abstract class AbstractEventSpy implements EventSpy {
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Hasher.java

       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
       * running the same hash function on the equivalent input. For cross-language compatibility, use
       * {@link #putString}, usually with a charset of UTF-8. For other use cases, use {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

       *
       * <ul>
       *   <li>Both {@code xStats} and {@code yStats} must have the same {@code count}.
       *   <li>If that {@code count} is 1, {@code sumOfProductsOfDeltas} must be exactly 0.0.
       *   <li>If that {@code count} is more than 1, {@code sumOfProductsOfDeltas} must be finite.
       * </ul>
       */
      PairedStats(Stats xStats, Stats yStats, double sumOfProductsOfDeltas) {
        this.xStats = xStats;
        this.yStats = yStats;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/io/FileUtilTest.java

         *
         * @throws Exception
         */
        @Test
        public void testReadBytes_LargeFile() throws Exception {
            final File largeFile = tempFolder.newFile("large.dat");
    
            // Create a file larger than MAX_BUF_SIZE (10MB)
            // Write 11MB of data
            try (FileOutputStream fos = new FileOutputStream(largeFile)) {
                final byte[] chunk = new byte[1024 * 1024]; // 1MB
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/response-directly.md

    You could also create a `JSONResponse` directly and return it.
    
    /// tip
    
    You will normally have much better performance using a [Response Model](../tutorial/response-model.md) than returning a `JSONResponse` directly, as that way it serializes the data using Pydantic, in Rust.
    
    ///
    
    ## Return a `Response` { #return-a-response }
    
    You can return a `Response` or any sub-class of it.
    
    /// info
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // When
            int size = request.size();
    
            // Then - should include context sizes
            assertTrue(size > 112); // Bigger than without contexts
            assertEquals(0, size % 8); // Should be 8-byte aligned
        }
    
        @Test
        @DisplayName("Should write bytes to wire format correctly")
        void testWriteBytesWireFormat() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  9. docs/en/docs/management-tasks.md

    Try to avoid using bitter sarcasm or potentially passive-aggressive comments. If something is wrong, it's better to be direct (try to be gentle) than sarcastic.
    
    Try to be as specific and objective as possible, avoid generalizations.
    
    For conversations that are more difficult, for example to reject a PR, you can ask me (@tiangolo) to handle it directly.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

     * There should be no big surprises here, although you may notice that the methods accept
     * <code>java.lang.CharSequence</code> rather than <code>java.lang.String</code>. This is provided mainly as a
     * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,
     * rather than formatting first by calling <code>toString()</code>.
     *
     *
     * @deprecated Use SLF4J directly
     */
    @Deprecated
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
Back to Top