Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 98 for outputs (0.14 sec)

  1. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

          // pass
        }
      }
    
      /**
       * Asserts that an escaper escapes the given character into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param c the character to escape
       */
      public static void assertEscaping(CharEscaper escaper, String expected, char c) {
    
        String escaped = computeReplacement(escaper, c);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumMultiset.java

      @Override
      Iterator<E> elementIterator() {
        return new Itr<E>() {
          @Override
          E output(int index) {
            return enumConstants[index];
          }
        };
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        return new Itr<Entry<E>>() {
          @Override
          Entry<E> output(final int index) {
            return new Multisets.AbstractEntry<E>() {
              @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharStreams.java

        }
      }
    
      /**
       * Returns a Writer that sends all output to the given {@link Appendable} target. Closing the
       * writer will close the target if it is {@link Closeable}, and flushing the writer will flush the
       * target if it is {@link java.io.Flushable}.
       *
       * @param target the object to which output will be sent
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Files.java

        asCharSink(to, charset).write(from);
      }
    
      /**
       * Copies all bytes from a file to an output stream.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#copy(java.nio.file.Path, OutputStream)}.
       *
       * @param from the source file
       * @param to the output stream
       * @throws IOException if an I/O error occurs
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        @CheckForNull Executor nextExecutor;
      }
    
      /**
       * Enqueues a task to run when the previous task (if any) completes.
       *
       * <p>Cancellation does not propagate from the output future to a callable that has begun to
       * execute, but if the output future is cancelled before {@link Callable#call()} is invoked,
       * {@link Callable#call()} will not be invoked.
       */
      public <T extends @Nullable Object> ListenableFuture<T> submit(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                joinUninterruptibly(interruptingThread, 2500, MILLISECONDS);
                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/io/ByteStreamsTest.java

                    return 42;
                  }
                }));
      }
    
      public void testNullOutputStream() throws Exception {
        // create a null output stream
        OutputStream nos = ByteStreams.nullOutputStream();
        // write to the output stream
        nos.write('n');
        String test = "Test string for NullOutputStream";
        byte[] bytes = test.getBytes(Charsets.US_ASCII);
        nos.write(bytes);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          result |= (input[offset + i] & 0xFFL) << (i * 8);
        }
        return result;
      }
    
      /**
       * Store 8 bytes into the provided array at the indicated offset, using the value provided.
       *
       * @param sink the output byte array
       * @param offset the offset into the array at which to start writing
       * @param value the value to write
       */
      static void store64(byte[] sink, int offset, long value) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashCode.java

        }
        return val;
      }
    
      /**
       * Returns a string containing each byte of {@link #asBytes}, in order, as a two-digit unsigned
       * hexadecimal number in lower case.
       *
       * <p>Note that if the output is considered to be a single hexadecimal number, whether this string
       * is big-endian or little-endian depends on the byte order of {@link #asBytes}. This may be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Functions.java

          return g + "(" + f + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Creates a function that returns the same boolean output as the given predicate for all inputs.
       *
       * <p>The returned function is <i>consistent with equals</i> (as documented at {@link
       * Function#apply}) if and only if {@code predicate} is itself consistent with equals.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top