Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for files (0.14 sec)

  1. android/guava/src/com/google/common/io/ByteStreams.java

       *       channel have their own file descriptors. Generally this only happens when both channels
       *       are files or sockets. This performs zero copies - the bytes never enter userspace.
       *   <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel
       *       have file descriptors. Bytes are copied from the file into a kernel buffer, then directly
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
     * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
     * `-android` "flavors.")
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/SourceSinkFactory.java

     *
     * <p>A single {@code SourceSinkFactory} implementation generally corresponds to one specific way of
     * creating a source or sink, such as {@link Files#asByteSource(File)}. Implementations of {@code
     * SourceSinkFactory} for common.io are found in {@link SourceSinkFactories}.
     *
     * @param <S> the source or sink type
     * @param <T> the data type (byte[] or String)
     * @author Colin Decker
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  4. android/guava/pom.xml

                <goals>
                  <goal>attach-artifact</goal>
                </goals>
                <configuration>
                  <artifacts>
                    <artifact>
                      <file>target/publish/module.json</file>
                      <type>module</type>
                    </artifact>
                  </artifacts>
                </configuration>
              </execution>
            </executions>
          </plugin>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ResourcesTest.java

        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
      @AndroidIncompatible // .class files aren't available
      public void testNulls() {
        new NullPointerTester()
            .setDefault(URL.class, classfile(ResourcesTest.class))
            .testAllPublicStaticMethods(Resources.class);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

            // Permissions needed by the junit test harness
            new RuntimePermission("accessDeclaredMembers"),
            new PropertyPermission("*", "read"),
            new java.io.FilePermission("<<ALL FILES>>", "read"));
      }
    
      /** Sleeps until the given time has elapsed. Throws AssertionFailedError if interrupted. */
      void sleep(long millis) {
        try {
          delay(millis);
        } catch (InterruptedException ie) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

       * implementation, it is <i>possible</i> that this method will return a different number of chars
       * than would be returned by reading all of the chars.
       *
       * <p>In either case, for mutable sources such as files, a subsequent read may return a different
       * number of chars if the contents are changed.
       *
       * @throws IOException if an I/O error occurs while reading the length of this source
       * @since 19.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

        File dir2 = newFile("dir-1/dir-2");
    
        assertThat(Files.fileTraverser().breadthFirst(rootDir))
            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      @CanIgnoreReturnValue
      private File newDir(String name) {
        File file = new File(rootDir, name);
        file.mkdir();
        return file;
      }
    
      @CanIgnoreReturnValue
      private File newFile(String name) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 20:17:27 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

              continue;
            }
            if (isAndroid && p.equals(BAD_FOR_GINGERBREAD_P) && q.equals(BAD_FOR_GINGERBREAD_Q)) {
              // Works fine under Marshmallow, so I haven't filed a bug.
              continue;
            }
    
            boolean dividesEvenly = p.remainder(q).equals(ZERO);
    
            try {
              BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

              continue;
            }
            if (isAndroid && p.equals(BAD_FOR_GINGERBREAD_P) && q.equals(BAD_FOR_GINGERBREAD_Q)) {
              // Works fine under Marshmallow, so I haven't filed a bug.
              continue;
            }
    
            boolean dividesEvenly = p.remainder(q).equals(ZERO);
    
            try {
              BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
Back to top