Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 745 for logic (0.04 seconds)

  1. src/archive/tar/writer.go

    	n = len(b0) - len(b)
    	switch {
    	case err == ErrWriteTooLong:
    		return n, errMissData // Not possible; implies bug in validation logic
    	case err != nil:
    		return n, err
    	case sw.logicalRemaining() == 0 && sw.physicalRemaining() > 0:
    		return n, errUnrefData // Not possible; implies bug in validation logic
    	case overwrite:
    		return n, ErrWriteTooLong
    	default:
    		return n, nil
    	}
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcSetupExtension.java

    /**
     * By registering bwc tasks via this extension we can support declaring custom bwc tasks from the build script
     * without relying on groovy closures and sharing common logic for tasks created by the BwcSetup plugin already.
     */
    public class BwcSetupExtension {
    
        private static final String MINIMUM_COMPILER_VERSION_PATH = "src/main/resources/minimumCompilerVersion";
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 18 09:11:28 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       visible static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
       * C} will be excluded from automated serialization test performed by this method.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.codelibs.fess.suggest.constants.SuggestConstants;
    
    /**
     * Utility class for merging SuggestItem objects.
     * Centralizes merge logic to reduce complexity in SuggestItem.
     *
     * <p>This class provides methods for merging two SuggestItem instances,
     * combining their fields, frequencies, and other attributes while
     * maintaining uniqueness where appropriate.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/web/admin/user/AdminUserActionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    /**
     * Unit tests for {@link AdminUserAction}.
     * Tests user management action logic including password validation, form handling, and CRUD modes.
     */
    public class AdminUserActionTest extends UnitFessTestCase {
    
        private AdminUserAction adminUserAction;
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * Returns a list of core extensions from all sources, that were discovered and loaded. Each instance of
         * {@link CoreExtensions} is validated, but the list elements may have overlapping elements, that requires
         * some logic to sort out (like precedence).
         * <p>
         * The list of {@link CoreExtensions} if present, is in precedence order.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * A {@link TransferListener} implementation that wraps another delegate {@link TransferListener} but makes it run
     * on single thread, keeping the listener logic simple. This listener also blocks on last transfer event to allow
     * output to perform possible cleanup. It spawns a daemon thread to consume queued events that may fall in even
     * concurrently.
     *
     * @since 4.0.0
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            Exception networkError = new java.io.IOException("Network connection failed");
            Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out");
    
            // Test fallback logic
            assertTrue(errorHandler.shouldFallbackToTcp(hardwareError), "Hardware errors should suggest TCP fallback");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.java

    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.search.SearchHit;
    
    /**
     * Creates SuggestResponse instances from OpenSearch search results.
     *
     * <p>This class encapsulates the response creation logic extracted from SuggestRequest,
     * including duplicate word handling and first-word matching prioritization.</p>
     */
    public class SuggestResponseCreator {
    
        private final String query;
        private final int size;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
        USING_DECODER_WITH_SIZE_HINT {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top