Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for checkFile (0.05 seconds)

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

  1. build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/SnippetLengthCheck.java

            this.max = max;
        }
    
        @Override
        protected void processFiltered(File file, FileText fileText) throws CheckstyleException {
            checkFile((line, message) -> log(line, message), max, fileText.toLinesArray());
        }
    
        static void checkFile(BiConsumer<Integer, String> log, int max, String... lineArray) {
            LineItr lines = new LineItr(Arrays.asList(lineArray).iterator());
            while (lines.hasNext()) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 10 23:06:44 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  2. cmd/xl-storage_unix_test.go

    	if err = disk.AppendFile(t.Context(), testCase.volName, pathJoin("hello-world.txt", xlStorageFormatFile), []byte("Hello World")); err != nil {
    		t.Fatalf("Create a file `test` failed with %s expected to pass.", err)
    	}
    
    	// CheckFile - stat the file.
    	if _, err := disk.StatInfoFile(t.Context(), testCase.volName, "hello-world.txt/"+xlStorageFormatFile, false); err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/EnumMultiset.java

      }
    
      /**
       * Returns {@code element} cast to {@code E}, if it actually is a nonnull E. Otherwise, throws
       * either a NullPointerException or a ClassCastException as appropriate.
       */
      private void checkIsE(Object element) {
        checkNotNull(element);
        if (!isActuallyE(element)) {
          throw new ClassCastException("Expected an " + type + " but got " + element);
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/EnumMultiset.java

      }
    
      /**
       * Returns {@code element} cast to {@code E}, if it actually is a nonnull E. Otherwise, throws
       * either a NullPointerException or a ClassCastException as appropriate.
       */
      private void checkIsE(Object element) {
        checkNotNull(element);
        if (!isActuallyE(element)) {
          throw new ClassCastException("Expected an " + type + " but got " + element);
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top