Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,417 for contents (2.56 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            assertFileExistence(dir, filename, true);
    
            File file = new File(dir, filename);
    
            String contents = FileUtils.fileRead(file, encoding);
    
            assertEquals(contentsTest, contents);
        }
    
        public File createFile(File dir, String filename, String contents, String encoding) throws IOException {
            File file = new File(dir, filename);
    
            file.getParentFile().mkdirs();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/archive/zip/example_test.go

    	// Iterate through the files in the archive,
    	// printing some of their contents.
    	for _, f := range r.File {
    		fmt.Printf("Contents of %s:\n", f.Name)
    		rc, err := f.Open()
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = io.CopyN(os.Stdout, rc, 68)
    		if err != nil {
    			log.Fatal(err)
    		}
    		rc.Close()
    		fmt.Println()
    	}
    	// Output:
    	// Contents of README:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/xml/DomUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetContentsAsStream() throws Exception {
            final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>";
            assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testToString() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. .github/workflows/auto-assign-pr-to-author.yml

    name: 'Auto Assign PR to Author'
    on:
      pull_request:
        types: [opened]
    
    permissions:
      contents: read
    
    jobs:
      add-reviews:
        permissions:
          contents: read  # for kentaro-m/auto-assign-action to fetch config file
          pull-requests: write  # for kentaro-m/auto-assign-action to assign PR reviewers
        runs-on: ubuntu-latest
        steps:
    Others
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 18:26:59 GMT 2024
    - 395 bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        return new MinimalCollection<>(Object.class, true, contents);
      }
    
      // TODO: use this
      public static <E extends @Nullable Object> MinimalCollection<E> ofClassAndContents(
          Class<? super @NonNull E> type, E... contents) {
        return new MinimalCollection<>(type, true, contents);
      }
    
      private final E[] contents;
      private final Class<? super @NonNull E> type;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java

    public final class Collections2FilterArrayListTest
        extends AbstractFilteredCollectionTest<Collection<Integer>> {
      @Override
      Collection<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
        return Collections2.filter(elements, predicate);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 16 21:55:55 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultiset.java

        final Multiset<E> contents;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableMultiset#builder}.
         */
        public Builder() {
          this(LinkedHashMultiset.<E>create());
        }
    
        Builder(Multiset<E> contents) {
          this.contents = contents;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

    public final class SetsFilterSortedSetTest
        extends AbstractFilteredSortedSetTest<SortedSet<Integer>> {
      @Override
      SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        final TreeSet<Integer> result = Sets.newTreeSet(contents);
        // we have to make the result not Navigable
        return new ForwardingSortedSet<Integer>() {
          @Override
          protected SortedSet<Integer> delegate() {
            return result;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 16 21:55:55 GMT 2022
    - 1.4K bytes
    - Viewed (0)
Back to top