Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Indices (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java

    public final class ProjectIndex {
    
        private final Map<String, MavenProject> projects;
    
        private final Map<String, Integer> indices;
    
        public ProjectIndex(List<MavenProject> projects) {
            this.projects = new HashMap<>(projects.size() * 2);
            this.indices = new HashMap<>(projects.size() * 2);
    
            for (int i = 0; i < projects.size(); i++) {
                MavenProject project = projects.get(i);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

                assertEquals(0, response.writeParameterWordsWireFormat(null, 0));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, 9 })
            @DisplayName("Returns 0 with valid array and various indices")
            void nonNullArray(int index) {
                byte[] arr = new byte[10];
                assertEquals(0, response.writeParameterWordsWireFormat(arr, index));
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

     * The implementation contains only trivial methods that return {@code 0}
     * or construct a string representation.  The tests focus on:
     *
     * <ul>
     *   <li>happy‑path behaviour</li>
     *   <li>boundary arguments (e.g., negative indices, large values)</li>
     *   <li>string representation containing the class name</li>
     *   <li>null buffer handling</li>
     * </ul>
     */
    final class TransWaitNamedPipeResponseTest {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. CLAUDE.md

        runner = new OpenSearchRunner();
        runner.build(newConfigs().clusterName("TestCluster").numOfNode(1));
        client = runner.client();
    }
    
    @Before
    public void before() {
        runner.admin().indices().prepareDelete("_all").execute().actionGet();
    }
    
    @AfterClass
    public static void afterClass() {
        runner.close();
        runner.clean();
    }
    ```
    
    ### Testing Best Practices
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

      require(name.isNotEmpty()) { "name is empty" }
      for (i in name.indices) {
        val c = name[i]
        require(c in '\u0021'..'\u007e') {
          "Unexpected char 0x${c.charCode()} at $i in header name: $name"
        }
      }
    }
    
    internal fun headersCheckValue(
      value: String,
      name: String,
    ) {
      for (i in value.indices) {
        val c = value[i]
        require(c == '\t' || c in '\u0020'..'\u007e') {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

    import java.util.List;
    
    import org.codelibs.fess.suggest.settings.AnalyzerSettings;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    import org.opensearch.transport.client.Client;
    
    /**
     * AnalyzerNormalizer is a class that implements the Normalizer interface.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

    import java.util.List;
    
    import org.codelibs.fess.suggest.settings.AnalyzerSettings;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    import org.opensearch.core.common.Strings;
    import org.opensearch.transport.client.Client;
    
    import com.ibm.icu.text.Transliterator;
    
    /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.junit.AfterClass;
    import org.junit.Before;
    import org.junit.BeforeClass;
    import org.junit.Test;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    import org.opensearch.index.IndexNotFoundException;
    
    public class AnalyzerSettingsTest {
        String id = "analyzerSettingsTest";
    
        static SuggestSettings settings;
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. schema/index_test.go

    				{Field: &schema.Field{Name: "FieldH2"}},
    			},
    		},
    	}
    	CheckIndices(t, expectedIndices, indices)
    }
    
    func CheckIndices(t *testing.T, expected, actual []*schema.Index) {
    	if len(expected) != len(actual) {
    		t.Errorf("expected %d indices, but got %d", len(expected), len(actual))
    		return
    	}
    
    	for i, ei := range expected {
    		t.Run(ei.Name, func(t *testing.T) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilder.java

         */
        public SuggestSettingsBuilder bulkTimeout(final String timeout) {
            timeoutSettings.setBulkTimeout(timeout);
            return this;
        }
    
        /**
         * Sets the indices timeout.
         * @param timeout The indices timeout.
         * @return This builder instance.
         */
        public SuggestSettingsBuilder indicesTimeout(final String timeout) {
            timeoutSettings.setIndicesTimeout(timeout);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:10:16 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top