Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 102 for Indices (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        /**
         * Method merge.
         *
         * @param target
         * @param indices
         * @param source
         * @return InputLocation
         */
        public static InputLocation merge(
                InputLocation target, InputLocation source, java.util.Collection<Integer> indices) {
            if (source == null) {
                return target;
            } else if (target == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        }
    
        @Test
        @DisplayName("Methods should handle negative indices")
        void testMethodsWithNegativeIndices() {
            // Arrange
            byte[] buffer = new byte[100];
            int negativeIndex = -1;
    
            // Act & Assert
            // These methods don't validate indices, so they return 0
            assertEquals(0, response.writeSetupWireFormat(buffer, negativeIndex));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                List<Integer> indices = new ArrayList<>();
                List<String> tgt = target.getModules();
                Set<String> excludes = new LinkedHashSet<>(tgt);
                List<String> merged = new ArrayList<>(tgt.size() + src.size());
                merged.addAll(tgt);
                for (int i = 0, n = tgt.size(); i < n; i++) {
                    indices.add(i);
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt

    class HuffmanTest {
      @Test
      fun roundTripForRequestAndResponse() {
        val s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
        for (i in s.indices) {
          assertRoundTrip(s.substring(0, i).encodeUtf8())
        }
        val random = Random(123456789L)
        val buf = ByteArray(4096)
        random.nextBytes(buf)
        assertRoundTrip(buf.toByteString())
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilderTest.java

        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            runner.refresh();
            suggester = Suggester.builder().build(runner.client(), "PopularWordsRequestBuilderTest");
            suggester.createIndexIfNothing();
        }
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

        keyStoreType: String?,
        trustedCertificates: List<X509Certificate>,
        insecureHosts: List<String>,
      ): X509TrustManager {
        val trustStore = newEmptyKeyStore(keyStoreType)
        for (i in trustedCertificates.indices) {
          trustStore.setCertificateEntry("cert_$i", trustedCertificates[i])
        }
    
        val factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm())
        factory.init(trustStore)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (1)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

     * implementations, except when the table is sparse.
     *
     * <p>Null row keys or column keys are not permitted.
     *
     * <p>This class provides methods involving the underlying array structure, where the array indices
     * correspond to the position of a row or column in the lists of allowed keys and values. See the
     * {@link #at}, {@link #set}, {@link #toArray}, {@link #rowKeyList}, and {@link #columnKeyList}
     * methods for more details.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ArrayTable.java

     * implementations, except when the table is sparse.
     *
     * <p>Null row keys or column keys are not permitted.
     *
     * <p>This class provides methods involving the underlying array structure, where the array indices
     * correspond to the position of a row or column in the lists of allowed keys and values. See the
     * {@link #at}, {@link #set}, {@link #toArray}, {@link #rowKeyList}, and {@link #columnKeyList}
     * methods for more details.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/EncodableTest.java

    import jcifs.util.ByteEncodable;
    
    @DisplayName("Encodable contract tests using ByteEncodable")
    class EncodableTest {
    
        // Generates a few representative slices and destination indices.
        static Stream<Arguments> byteEncodableArgs() {
            return Stream.of(
                    // srcLen, off, len, dstIndex
                    Arguments.of(makeSeq(8), 0, 8, 0), // full copy at index 0
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

                assertEquals(0, smbComTreeDisconnect.readBytesWireFormat(buffer, i));
            }
        }
    
        /**
         * Test boundary conditions for buffer indices
         */
        @Test
        @DisplayName("Test boundary conditions for buffer indices")
        public void testBoundaryConditions() {
            // Given
            smbComTreeDisconnect = new SmbComTreeDisconnect(config);
            byte[] buffer = new byte[100];
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
Back to Top