Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 895 for lead (0.02 sec)

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

        Reader reader = new StringReader(testString);
    
        assertEquals(testString.charAt(0), reader.read());
        CharStreams.skipFully(reader, 1);
        assertEquals(testString.charAt(2), reader.read());
        CharStreams.skipFully(reader, 2);
        assertEquals(testString.charAt(5), reader.read());
    
        assertEquals(-1, reader.read());
      }
    
      public void testAsWriter() {
        // Should wrap Appendable in a new object
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        Reader reader = new StringReader(testString);
    
        assertEquals(testString.charAt(0), reader.read());
        CharStreams.skipFully(reader, 1);
        assertEquals(testString.charAt(2), reader.read());
        CharStreams.skipFully(reader, 2);
        assertEquals(testString.charAt(5), reader.read());
    
        assertEquals(-1, reader.read());
      }
    
      public void testAsWriter() {
        // Should wrap Appendable in a new object
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                // Read first 5 bytes
                byte[] buffer = new byte[5];
                int bytesRead = stream.read(buffer);
                assertEquals(5, bytesRead);
                assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8"));
    
                // Read remaining bytes
                byte[] remaining = new byte[20];
                int remainingBytes = stream.read(remaining);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         */
    
        @Override
        public int read(final 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.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read(final byte[] b, final int off, final int len) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      final @Nullable Object value() {
        return valueField;
      }
    
      /** Returns the head of the listener stack, using a volatile read. */
      final @Nullable Listener listeners() {
        return listenersField;
      }
    
      /** Releases all threads in the {@link #waitersField} list, and clears the list. */
      final void releaseWaiters() {
        Waiter head = gasWaiters(Waiter.TOMBSTONE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. pom.xml

    	<scm>
    		<connection>scm:git:******@****.***:codelibs/corelib.git</connection>
    		<url>scm:git:******@****.***:codelibs/corelib.git</url>
    		<developerConnection>scm:git:******@****.***:codelibs/corelib.git</developerConnection>
    	  <tag>HEAD</tag>
      </scm>
    	<properties>
    		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    	</properties>
    	<build>
    		<plugins>
    			<plugin>
    				<artifactId>maven-compiler-plugin</artifactId>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 03:01:32 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                SMBUtil.writeInt2(4, buffer, start);
                Smb2LogoffResponse resp = newResponse();
    
                // Act
                int read = resp.readBytesWireFormat(buffer, start);
    
                // Assert
                assertEquals(4, read, "Should return the fixed structure size (4)");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 7 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        public void test_relatedQueryMap_volatile() {
            // Test that the map is properly replaced when load() is called
            List<RelatedQuery> testData1 = new ArrayList<>();
            testData1.add(createRelatedQuery("term1", new String[] { "query1" }, ""));
            mockBhv.setTestData(testData1);
    
            relatedQueryHelper.load();
            String[] results = relatedQueryHelper.getRelatedQueries("term1");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/MultiReaderTest.java

        assertEquals(expected.charAt(0), joinedReader.read());
        CharStreams.skipFully(joinedReader, 1);
        assertEquals(expected.charAt(2), joinedReader.read());
        CharStreams.skipFully(joinedReader, 4);
        assertEquals(expected.charAt(7), joinedReader.read());
        CharStreams.skipFully(joinedReader, 1);
        assertEquals(expected.charAt(9), joinedReader.read());
        assertEquals(-1, joinedReader.read());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/PropertiesUtil.java

        }
    
        /**
         * Wraps exception handling for {@link Properties#load(InputStream)}.
         * <p>
         * The input stream is not closed.
         * </p>
         *
         * @param props the property set (must not be {@literal null})
         * @param in the input stream (must not be {@literal null})
         */
        public static void load(final Properties props, final InputStream in) {
            assertArgumentNotNull("props", props);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top