Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1671 - 1680 of 2,155 for minval (0.04 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        final File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 08 21:20:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableIteratorTest extends TestCase {
    
      @SuppressWarnings("DoNotCall")
      public void testRemove() {
        final String[] array = {"a", "b", "c"};
    
        Iterator<String> iterator =
            new UnmodifiableIterator<String>() {
              int i;
    
              @Override
              public boolean hasNext() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/CIFSUnsupportedCryptoException.java

     * 
     * @author mbechler
     *
     */
    public class CIFSUnsupportedCryptoException extends RuntimeCIFSException {
    
        /**
         * 
         */
        private static final long serialVersionUID = -6350312430383107348L;
    
    
        /**
         * 
         */
        public CIFSUnsupportedCryptoException () {}
    
    
        /**
         * @param message
         * @param cause
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/RuntimeCIFSException.java

     * 
     * These should only occur under very rare circumstances.
     * 
     * @author mbechler
     *
     */
    public class RuntimeCIFSException extends RuntimeException {
    
        /**
         * 
         */
        private static final long serialVersionUID = -2611196678846438579L;
    
    
        /**
         * 
         */
        public RuntimeCIFSException () {
            super();
        }
    
    
        /**
         * @param message
         * @param cause
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

    import java.nio.charset.Charset;
    import java.nio.charset.StandardCharsets;
    
    
    /**
     * @author mbechler
     *
     */
    public class AvTargetName extends AvPair {
    
        /**
         * 
         */
        private static final Charset UTF16LE = StandardCharsets.UTF_16LE;
    
    
        /**
         * @param raw
         */
        public AvTargetName ( byte[] raw ) {
            super(AvPair.MsvAvTargetName, raw);
        }
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

    import java.util.Collections;
    import java.util.List;
    
    /**
     * Common generators of different types of lists.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class ListGenerators {
    
      private ListGenerators() {}
    
      public static class ImmutableListOfGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/UUID.java

                default:
                    throw new IllegalArgumentException(new String(arr, offset, length));
                }
                count++;
            }
    
            return value;
        }
    
        static final char[] HEXCHARS = {
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
        };
    
    
        private static String bin_to_hex ( int value, int length ) {
            char[] arr = new char[length];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      private static final class PickyIterable<E> implements Iterable<E> {
        final List<E> elements;
        int modCount = 0;
    
        PickyIterable(E... elements) {
          this.elements = new ArrayList<E>(asList(elements));
        }
    
        @Override
        public Iterator<E> iterator() {
          return new PickyIterator();
        }
    
        final class PickyIterator implements Iterator<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTester.java

     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSourceTester.class);
    
      static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) {
        TestSuite suite = new TestSuite(name);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top