Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 4,329 for init (0.15 sec)

  1. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
        assertEquals(1, (int) iter.next());
    
        assertFalse(iter.hasNext());
    
        // Make sure computeNext() doesn't get invoked again
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/PrimitiveSink.java

       * @return this instance
       * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or
       *     {@code len < 0}
       */
      @CanIgnoreReturnValue
      PrimitiveSink putBytes(byte[] bytes, int off, int len);
    
      /**
       * Puts the remaining bytes of a byte buffer into this sink. {@code bytes.position()} is the first
       * byte written, {@code bytes.limit() - 1} is the last. The position of the buffer will be equal
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types.go

    // column information guiding user to fix syntax errors
    type BatchJobYamlErr struct {
    	line, col int
    	msg       string
    }
    
    // message returns the error message excluding line, col information.
    // Intended to be used in unit tests.
    func (b BatchJobYamlErr) message() string {
    	return b.msg
    }
    
    // Error implements Error interface
    func (b BatchJobYamlErr) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ingest;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class IngestFactoryTest extends UnitFessTestCase {
    
        public void test_add_1() {
            IngestFactory factory = new IngestFactory();
            factory.add(new TestIngester(1));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAutoIncrementStep() throws Exception {
        int incrementByNanos = 3;
        final FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS);
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

    package org.codelibs.fess.util;
    
    import java.util.List;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class QueryResponseListTest extends UnitFessTestCase {
        public void test_calculatePageInfo_page0() {
            QueryResponseList qrList;
    
            qrList = new QueryResponseList(null, 0, 20, 0) {
                @Override
                public int size() {
                    return 0;
                }
            };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
          int x1 = buf[bufLen - 2] & 0xff;
          int x2 = buf[bufLen - 3] & 0xff;
          int x3 = buf[bufLen / 2] & 0xff;
          buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3;
          buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256;
        }
        assertEquals(0xeaa3b1c985261632L, h);
      }
    
      private static long remix(long h) {
        h ^= h >>> 41;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        // We can easily afford to test this exhaustively.
        for (int i = 0; i <= 0xff; i++) {
          assertThat(UnsignedBytes.toString((byte) i)).isEqualTo(Integer.toString(i));
        }
      }
    
      public void testToStringWithRadix() {
        // We can easily afford to test this exhaustively.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          for (int i = 0; i <= 0xff; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                    return null;
                }
    
                @Override
                public int getStartPosition() {
                    return 0;
                }
    
                @Override
                public int getOffset() {
                    return 0;
                }
    
                @Override
                public int getPageSize() {
                    return 0;
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

       */
      var constructed = false
    
      fun write(
        name: String,
        tagClass: Int,
        tag: Long,
        block: (BufferedSink) -> Unit,
      ) {
        val constructedBit: Int
        val content = Buffer()
    
        stack.add(content)
        constructed = false // The enclosed object written in block() is not constructed.
        path += name
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top