Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 535 for chunking (0.1 seconds)

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

     * interface easier to implement for certain types of data sources.
     *
     * <p>{@code Iterator} requires its implementations to support querying the end-of-data status
     * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,
     * such as {@link java.io.Reader#read()}, do not expose this information; the only way to discover
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. src/test/resources/thumbnail/test_generate_thumbnail.sh

            return 0
        else
            echo -e "${RED}FAILED${NC} (expected: ${expected_result}, got: ${actual_result})"
            ((TESTS_FAILED++))
            return 1
        fi
    }
    
    # Test function for checking file existence
    run_file_test() {
        local test_name="$1"
        local output_file="$2"
        shift 2
        local cmd=("$@")
    
        echo -n "Testing: ${test_name}... "
    
        # Run the command
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/EndpointPair.java

            // and the transitive property of equality, this implies that nodeU equals nodeV.
            // If nodeU equals nodeV, condition1 == condition2, so checking condition1 is sufficient.
            return nodeV().equals(other.nodeV());
          }
          return nodeU().equals(other.nodeV()) && nodeV().equals(other.nodeU()); // check condition2
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              @Override
              protected void finalize() {
                finalizerRan.countDown();
              }
            });
      }
    
      // We call the method only after checking that it's present.
      @IgnoreJRERequirement
      @SuppressWarnings({
        "Java8ApiChecker",
        // This method is a helper, which we call from a `finally` block, as recommended.
        "ReachabilityFenceUsage",
      })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Assert
            assertNotNull(handle);
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            // Further verification could involve capturing the MsrpcLsarOpenPolicy2 argument and checking its server field.
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
            // Arrange
            String server = "testServer";
            int access = 123;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            byte[] hash = auth.getUnicodeHash(challenge);
            assertNotNull(hash);
            // For lmCompatibility 3,4,5 (NTLMv2), returns empty array
            assertEquals(0, hash.length);
        }
    
        // Test that changing lmCompatibility at runtime doesn't affect already loaded static value
        @ParameterizedTest
        @ValueSource(strings = { "0", "1", "2", "3", "4", "5" })
        void testLmCompatibilityStaticInitialization(String lmCompatibility) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

    import jakarta.annotation.Resource;
    
    /**
     * The assist for login handling in the Fess application.
     * This class extends TypicalLoginAssist to provide Fess-specific login functionality
     * including user authentication, permission checking, and login history management.
     *
     */
    public class FessLoginAssist extends TypicalLoginAssist<String, FessUserBean, FessUser> // #change_it also UserBean
            implements PrimaryLoginManager {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/strict-content-type.md

    # Content-Type の厳格チェック { #strict-content-type-checking }
    
    既定では、FastAPI は JSON リクエストボディに対して厳格な `Content-Type` ヘッダーのチェックを行います。つまり、JSON のリクエストを JSON として解析するには、有効な `Content-Type` ヘッダー(例: `application/json`)を必ず含める必要があります。
    
    ## CSRF のリスク { #csrf-risk }
    
    この既定の挙動は、ある特定の状況における Cross-Site Request Forgery(CSRF)攻撃の一種に対する保護を提供します。
    
    これらの攻撃は、次の条件を満たすときにブラウザが CORS のプリフライトチェックを行わずにスクリプトからリクエストを送信できる事実を悪用します。
    
    - `Content-Type` ヘッダーがない(例: `Blob` をボディにして `fetch()` を使う)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/pac/ASN1Util.java

     * encoded data structures used in Kerberos PAC processing.
     */
    public final class ASN1Util {
    
        private ASN1Util() {
        }
    
        /**
         * Casts an object to the specified type with type checking
         * @param <T> the target type
         * @param type the target class type
         * @param object the object to cast
         * @return object cast to type
         * @throws PACDecodingException if types are incompatible
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

       * @since 7.0 (source-compatible since 2.0)
       */
      public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
        /*
         * TODO(lowasser): consider checking for ImmutableAsList here
         * TODO(lowasser): consider checking for Multiset here
         */
        // Don't refer to ImmutableSortedSet by name so it won't pull in all that code
        if (elements instanceof ImmutableSet && !(elements instanceof SortedSet)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
Back to Top