Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 1,899 for index1 (0.14 seconds)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Mock individual header access by both string key and index
            if (headers != null) {
                // Mock by header name
                for (Map.Entry<String, List<String>> entry : headers.entrySet()) {
                    when(conn.getHeaderField(entry.getKey())).thenReturn(entry.getValue().get(0));
                }
    
                // Mock by index - getHeaderField(int)
                // Index 0 is status line, then headers in order
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      abstract List<E> delegateList();
    
      @Override
      public int indexOf(@Nullable Object object) {
        return delegateList().indexOf(object);
      }
    
      @Override
      public int lastIndexOf(@Nullable Object object) {
        return delegateList().lastIndexOf(object);
      }
    
      @Override
      public E get(int index) {
        return delegateList().get(index);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. cmd/update-notifier_test.go

    )
    
    // Tests update notifier string builder.
    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    		{72 * time.Hour, "my_download_url", "3 days before the latest release"},
    		{3 * time.Hour, "https://my_download_url_is_huge/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "3 hours before the latest release"},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java

    import org.apache.maven.api.services.MavenException;
    
    @Experimental
    public class ModelParserException extends MavenException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        public ModelParserException() {
            this(null, null);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Sep 22 07:25:10 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/di/tool/package-info.java

     * which processes classes annotated with {@link org.apache.maven.api.di.Named} and creates an index file
     * that allows for efficient discovery of injectable components at runtime.
     * <p>
     * The generated index is stored at {@code META-INF/maven/org.apache.maven.api.di.Inject} and contains
     * the fully qualified names of all classes annotated with {@code @Named}.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/DosErrorTest.java

            assertEquals("Incorrect function.", msgs[2]);
        }
    
        @Test
        @DisplayName("Messages: accessing invalid index throws ArrayIndexOutOfBoundsException")
        void messagesOutOfBoundsThrows() {
            // Arrange
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Act & Assert: negative index
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                @SuppressWarnings("unused")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/util/Hexdump.java

         * </pre>
         *
         * @param ps the PrintStream to write the hexdump output to
         * @param src the source byte array containing the data to dump
         * @param srcIndex the starting index in the source array
         * @param length the number of bytes to dump from the source array
         */
    
        public static void hexdump(final PrintStream ps, final byte[] src, final int srcIndex, final int length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java

            commandWithRetry.append(indent).append("  ").append(command).append(" && \n");
            commandWithRetry.append(indent).append("  exit_code=0 && break || \n");
            commandWithRetry.append(indent);
            commandWithRetry.append("    exit_code=$? && echo \"").append(name).append(" error: retry $iter in 10s\" && sleep 10; \n");
            commandWithRetry.append(indent).append("done; \n");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 10 13:10:22 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  9. utils/tests/utils.go

    					for i := 0; i < reflect.ValueOf(got).Len(); i++ {
    						name := fmt.Sprintf(reflect.ValueOf(got).Type().Name()+" #%v", i)
    						t.Run(name, func(t *testing.T) {
    							AssertEqual(t, reflect.ValueOf(got).Index(i).Interface(), reflect.ValueOf(expect).Index(i).Interface())
    						})
    					}
    				} else {
    					name := reflect.ValueOf(got).Type().Elem().Name()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  10. src/main/resources/suggest_indices/suggest_settings_array.json

    {
      "index": {
        "refresh_interval": "1s",
        "number_of_shards": 1,
        "number_of_replicas": 0,
        "auto_expand_replicas": "0-1"
      }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Apr 19 06:36:10 GMT 2018
    - 141 bytes
    - Click Count (0)
Back to Top