Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 745 for logic (0.02 seconds)

  1. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

                System.setErr(new PrintStream(errContent));
    
                String[] args = { "--help" };
                // Note: main calls System.exit, so we can't test it directly
                // Instead, we test the parsing logic separately
    
                System.setErr(originalErr);
            } catch (Exception e) {
                System.setErr(originalErr);
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. cmd/signature-v2_test.go

    			if errCode != testCase.expected {
    				t.Errorf("(%d) expected to get success, instead got %s", i, niceError(errCode))
    			}
    		}
    	}
    }
    
    // TestValidateV2AuthHeader - Tests validate the logic of V2 Authorization header validator.
    func TestValidateV2AuthHeader(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    /**
     * Unit tests for {@link AbstractFessFileTransformer}.
     * Tests file transformation logic including content extraction and metadata handling.
     */
    public class AbstractFessFileTransformerTest extends UnitFessTestCase {
    
        private TestableAbstractFessFileTransformer transformer;
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestQueryBuilder.java

    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    
    /**
     * Builds OpenSearch queries for suggestion requests.
     *
     * <p>This class encapsulates the query building logic extracted from SuggestRequest,
     * including reading conversion, normalization, and function score query construction.</p>
     */
    public class SuggestQueryBuilder {
    
        private final ReadingConverter readingConverter;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.internal.TlsUtil.localhost
    
    /**
     * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against
     * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes
     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java

    import org.elasticsearch.gradle.Version;
    
    import java.util.Comparator;
    import java.util.Objects;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Encapsulates comparison and printing logic for an x.y.z version with optional qualifier. This class is very similar
     * to {@link Version}, but it dissects the qualifier in such a way that is incompatible
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/pager/SynonymPager.java

    import java.io.Serializable;
    import java.util.List;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Pager for managing synonym pagination.
     * This class handles the state and logic for paginating through a list of synonyms,
     * including total record count, page size, and current page number.
     */
    public class SynonymPager implements Serializable {
    
        /**
         * Constructs a new pager for synonyms.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. helm/minio/templates/_helpers.tpl

    */}}
    {{- define "minio.imagePullSecrets" -}}
    {{/*
    Helm 2.11 supports the assignment of a value to a variable defined in a different scope,
    but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic.
    Also, we can not use a single if because lazy evaluation is not an option
    */}}
    {{- if .Values.global }}
    {{- if .Values.global.imagePullSecrets }}
    imagePullSecrets:
        {{ toYaml .Values.global.imagePullSecrets }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 06 23:48:24 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. 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;
            smbComNtTransaction.parameterOffset = 100;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            if ((scopesToCollect == null || scopesToCollect.isEmpty())
                    && (scopesToResolve == null || scopesToResolve.isEmpty())) {
                return resolved;
            }
    
            /*
    
            Logic for transitive global exclusions
    
            List<String> exclusions = new ArrayList<String>();
    
            for ( Dependency d : project.getDependencies() )
            {
                if ( d.getExclusions() != null )
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.4K bytes
    - Click Count (1)
Back to Top