Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1501 - 1510 of 2,036 for wong (0.03 sec)

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

       * input}.
       *
       * @return the number of bytes written
       * @throws IOException if an I/O occurs while reading from {@code input} or writing to this sink
       */
      @CanIgnoreReturnValue
      public long writeFrom(InputStream input) throws IOException {
        checkNotNull(input);
    
        try (OutputStream out = openStream()) {
          return ByteStreams.copy(input, out);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteSink.java

       * input}.
       *
       * @return the number of bytes written
       * @throws IOException if an I/O occurs while reading from {@code input} or writing to this sink
       */
      @CanIgnoreReturnValue
      public long writeFrom(InputStream input) throws IOException {
        checkNotNull(input);
    
        try (OutputStream out = openStream()) {
          return ByteStreams.copy(input, out);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            // Length is 10 bytes, so expected string length is 5 characters
            PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100);
            String testString = "too-long"; // Length is 8
    
            // Expect a PACDecodingException to be thrown
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {
                pacString.check(testString);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

          stream.sink.flush()
          responseSent.countDown()
        }
      }
    
      fun exhaustResponse() =
        apply {
          actions += { stream -> stream.sink.close() }
        }
    
      fun sleep(
        duration: Long,
        unit: TimeUnit,
      ) = apply {
        actions += { Thread.sleep(unit.toMillis(duration)) }
      }
    
      override fun handle(socket: Socket) {
        val task = serviceSocketTask(socket.asBufferedSocket())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
          assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes);
          for (int i : indexes) {
            assertWithMessage("Mismatch between %s and %s at %s", algorithm, REFERENCE_ALGORITHM, i)
                .that(quantiles.get(i))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

      // TODO(lukes): Consider throwing InterruptedException when appropriate.
      @Override
      @ParametricNullness
      public V get() {
        return value;
      }
    
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit) throws ExecutionException {
        checkNotNull(unit);
        return get();
      }
    
      @Override
      public boolean isCancelled() {
        return false;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

    /**
     * Exception thrown when a {@link Constructor} cannot be found.
     *
     * @author higa
     */
    public class ConstructorNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 8584662068396978822L;
    
        /**
         * The target class.
         */
        private final Class<?> targetClass;
    
        /**
         * The method arguments.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

        static final int BATCH_OPLOCK_GRANTED = 2;
        static final int LEVEL_II_OPLOCK_GRANTED = 3;
    
        byte oplockLevel;
        int fid, createAction, extFileAttributes, fileType, deviceState;
        long creationTime, lastAccessTime, lastWriteTime, changeTime, allocationSize, endOfFile;
        boolean directory;
        boolean isExtended;
    
        SmbComNTCreateAndXResponse() {
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            command = SMB_COM_WRITE;
        }
    
        void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
            this.offset = (int) (offset & 0xFFFFFFFFL);
            this.remaining = remaining;
            this.b = b;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

    /**
     * The Exception class throw by the {@link ProjectBuilder} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class ModelBuilderException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = -1865447022070650896L;
    
        private final ModelBuilderResult result;
    
        /**
         * Creates a new exception from the specified interim result and its associated problems.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Dec 19 14:50:21 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top