Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 762 for chunks (0.04 seconds)

  1. guava-tests/test/com/google/common/io/FlushablesTest.java

    import java.io.Flushable;
    import java.io.IOException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Flushables}.
     *
     * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not
     * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true.
     *
     * @author Michael Lancaster
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        }
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries (where "
                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

        }
    
        @Override
        public String getName() {
            return netName;
        }
    
        @Override
        public int getType() {
            /* 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
            switch (type & 0xFFFF) {
            case 1:
                return SmbFile.TYPE_PRINTER;
            case 3:
                return SmbFile.TYPE_NAMED_PIPE;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         * @return {@code true} if remote repositories should be re-checked for updated artifacts/metadata, {@code false}
         *         otherwise.
         */
        boolean isForceUpdate();
    
        /**
         * Enables/disabled forced checks for updated artifacts/metadata on remote repositories.
         *
         * @param forceUpdate {@code true} to forcibly check the remote repositories for updated artifacts/metadata, {@code
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

         *
         * @param allPageCount the total page count
         */
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
        /**
         * Checks if a previous page exists.
         *
         * @return true if a previous page exists, false otherwise
         */
        public boolean isExistPrePage() {
            return existPrePage;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (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) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/pager/DataConfigPager.java

         *
         * @param allPageCount the total page count
         */
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
        /**
         * Checks if there is a previous page available.
         *
         * @return true if there is a previous page, false otherwise
         */
        public boolean isExistPrePage() {
            return existPrePage;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            // DISCUSS
            "EnumOrdinal", // This violation is ubiquitous, though most are benign.
            "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals()
            "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason
    
            // NEVER
            "AssignmentExpression", // Not using it is more a matter of taste.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/rule.go

    	errInvalidRuleDelMarkerExpiration = Errorf("Rule with DelMarkerExpiration cannot have tags based filtering")
    )
    
    // validateID - checks if ID is valid or not.
    func (r Rule) validateID() error {
    	if len(r.ID) > 255 {
    		return errInvalidRuleID
    	}
    	return nil
    }
    
    // validateStatus - checks if status is valid or not.
    func (r Rule) validateStatus() error {
    	// Status can't be empty
    	if len(r.Status) == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            return destroyProcess(sessionId, jobProcess);
        }
    
        /**
         * Checks if any processes are currently running.
         *
         * @return true if at least one process is running, false otherwise
         */
        public boolean isProcessRunning() {
            return !runningProcessMap.isEmpty();
        }
    
        /**
         * Checks if the process with the given session ID is currently running.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top