Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 589 for chunks (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt

    /**
     * An SSLSocketFactory that delegates calls. Sockets created by the delegate are wrapped with ones
     * that will not accept the [TLS_FALLBACK_SCSV] cipher, thus bypassing server-side fallback
     * checks on platforms that support it. Unfortunately this wrapping will disable any
     * reflection-based calls to SSLSocket from Platform.
     */
    class FallbackTestClientSocketFactory(
      delegate: SSLSocketFactory,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListGetTester<E> extends AbstractListTester<E> {
      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1));
      }
    
      public void testGet_tooLarge() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

                        value = config.get(k);
                    }
                    itemList.add(createItem(k, value));
                });
            }
            return itemList;
        }
    
        /**
         * Checks if a property value should be masked for security reasons.
         *
         * @param key the property key to check
         * @return true if the value should be masked, false otherwise
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    And to create `fluffy`, you are "calling" `Cat`.
    
    So, a Python class is also a **callable**.
    
    Then, in **FastAPI**, you could use a Python class as a dependency.
    
    What FastAPI actually checks is that it is a "callable" (function, class or anything else) and the parameters defined.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. tests/generics_test.go

    	}
    
    	total := 0
    	err := gorm.G[User](DB).Where("name like ?", "GenericsFindBatch%").FindInBatches(ctx, 2, func(chunk []User, batch int) error {
    		if len(chunk) > 2 {
    			t.Errorf("batch size exceed 2: got %d", len(chunk))
    		}
    
    		total += len(chunk)
    		return nil
    	})
    	if err != nil {
    		t.Fatalf("FindInBatches failed: %v", err)
    	}
    
    	if total != len(users) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

         *
         * @param allPageCount total page count
         */
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
        /**
         * Checks if a previous page exists.
         *
         * @return true if previous page exists, false otherwise
         */
        public boolean isExistPrePage() {
            return existPrePage;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(0, dst[35], "Reserved byte should be 0");
        }
    
        @Test
        void testWriteParameterWordsWireFormat_ZeroCounts() {
            // Test with zero parameter and data counts to check conditional logic.
            smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT;
            smbComNtTransaction.parameterCount = 0;
            smbComNtTransaction.dataCount = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. cmd/healthcheck-handler.go

    		} else {
    			writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		}
    		return
    	}
    	writeResponse(w, http.StatusOK, nil, mimeNone)
    }
    
    // ReadinessCheckHandler checks whether MinIO is up and ready to serve requests.
    // It also checks whether the KMS is available and whether etcd is reachable,
    // if configured.
    func ReadinessCheckHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

                return StringUtil.EMPTY;
            }
            return input;
        }
    
        /**
         * Checks if the item has been updated.
         *
         * @return true if the item has been updated, false otherwise.
         */
        public boolean isUpdated() {
            return newInput != null;
        }
    
        /**
         * Checks if the item has been marked for deletion.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top