Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 502 for input (0.17 sec)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read ( byte[] b ) throws IOException {
            return read(b, 0, b.length);
        }
    
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      void setUp() {
        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      void charSplitter(int reps) {
        int total = 0;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      void setUp() {
        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      void charSplitter(int reps) {
        int total = 0;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

        public boolean lookingAt(Pattern pattern) {
            Matcher m = pattern.matcher(input);
            m.region(pos, input.length());
            return m.lookingAt();
        }
    
        public String region() {
            return input.substring(markPos, pos);
        }
    
        /**
         * Moves the position to the next instance of the given character, or the end of the input if not found.
         */
        public void find(char c) {
            int cpos = pos;
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                throw new SmbException("Already closed");
            }
    
            if ( this.input != null ) {
                return this.input;
            }
    
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                this.input = new SmbPipeInputStream(this, th);
            }
            return this.input;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

      }
    
      @Override
      public HashCode hashInt(int input) {
        return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array());
      }
    
      @Override
      public HashCode hashLong(long input) {
        return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array());
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
        int len = input.length();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            }
        }
    
        public void update( byte[] input, int offset, int len ) {
            if( log.level >= 5 ) {
                log.println( "update: " + updates + " " + offset + ":" + len );
                Hexdump.hexdump( log, input, offset, Math.min( len, 256 ));
                log.flush();
            }
            if( len == 0 ) {
                return; /* CRITICAL */
            }
            digest.update( input, offset, len );
            updates++;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

       * (NCR). Any non-ASCII characters appearing in the input will be preserved in the output.
       * Specifically "\r" (carriage return) is preserved in the output, which may result in it being
       * silently converted to "\n" when the XML is parsed.
       *
       * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode
       * validation on its input.
       */
      public static Escaper xmlContentEscaper() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          new Function<@Nullable Integer, @Nullable Integer>() {
            @Override
            public @Nullable Integer apply(@Nullable Integer input) {
              return (input == null) ? null : input / 2;
            }
          };
    
      abstract static class ColumnTests extends MapTests {
        ColumnTests(
            boolean allowsNullValues,
            boolean supportsPut,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/LineBufferTest.java

          chunk = Math.max(1, Math.min(chunk, input.length()));
          assertEquals(expectProcess, bufferHelper(input, chunk));
          assertEquals(expectRead, readUsingJava(input, chunk));
          assertEquals(expectRead, readUsingReader(input, chunk, true));
          assertEquals(expectRead, readUsingReader(input, chunk, false));
        }
      }
    
      private static List<String> bufferHelper(String input, int chunk) throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
Back to top