Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 267 for cutting (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method do
       * double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      @Throws(IOException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        inputFuture = null;
    
        if (localInputFuture.isCancelled()) {
          @SuppressWarnings("unchecked")
          boolean unused =
              setFuture((ListenableFuture<O>) localInputFuture); // Respects cancellation cause setting
          return;
        }
    
        /*
         * Any of the setException() calls below can fail if the output Future is cancelled between now
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                    // Implementation for raw payload
                }
    
                @Override
                public byte[] getRawPayload() {
                    // Implementation for getting raw payload
                    return null;
                }
    
                @Override
                public boolean isRetainPayload() {
                    // Implementation for retain payload flag
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        object : Task("$okHttpName ConnectionPool connection closer") {
          override fun runOnce(): Long = closeConnections(System.nanoTime())
        }
    
      /**
       * Holding the lock of the connection being added or removed when mutating this, and check its
       * [RealConnection.noNewExchanges] property. This defends against races where a connection is
       * simultaneously adopted and removed.
       */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/BloomFilterStrategies.java

          return true;
        }
    
        boolean get(long bitIndex) {
          return (data.get((int) (bitIndex >>> LONG_ADDRESSABLE_BITS)) & (1L << bitIndex)) != 0;
        }
    
        /**
         * Careful here: if threads are mutating the atomicLongArray while this method is executing, the
         * final long[] will be a "rolling snapshot" of the state of the bit array. This is usually good
         * enough, but should be kept in mind.
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jan 08 14:27:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. CLAUDE.md

    ```java
    // Include patterns (must match)
    crawler.urlFilter.addInclude("https://example.com/.*");
    
    // Exclude patterns (must not match)
    crawler.urlFilter.addExclude(".*\\.(css|js|png|jpg)$");
    ```
    
    ### Setting Crawl Limits
    
    ```java
    context.setMaxAccessCount(1000);  // Max URLs (0 = unlimited)
    context.setMaxDepth(3);           // Max depth (-1 = unlimited)
    context.setNumOfThread(10);       // Concurrent threads
    ```
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/Maps.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.TreeMap;
    import java.util.WeakHashMap;
    import java.util.concurrent.ConcurrentHashMap;
    
    /**
     * Utility class for easily creating and setting values in {@link Map} instances.
     * <p>
     * By statically importing this class, you can easily initialize {@literal Map} instances as follows:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.Maps.*;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SecurityBlobTest.java

            // Ensure arrays are independent: mutate clone's buffer via getter
            copy.get()[1] = 77;
            assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original");
        }
    
        // Uses reflection to set internal array to null to exercise defensive branch in length()
        @Test
        @DisplayName("length(): handles internal null defensively")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MD4.java

            final byte[] tail = new byte[padLen + 8];
            tail[0] = (byte) 0x80;
    
            // append length before final transform:
            // save number of bits, casting the long to an array of 8 bytes
            // save low-order byte first.
            for (int i = 0; i < 8; i++) {
                tail[padLen + i] = (byte) (count * 8 >>> 8 * i);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("close calls release and decrements usage; double release throws")
        void closeAndReleaseBehavior() {
            // Validates usage counting and that an extra release() throws RuntimeCIFSException
            // First close -> usage 1 -> 0, triggers treeConnection.release()
            handle.close();
            verify(treeConnection, times(1)).release();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top