Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 298 for enid (0.26 sec)

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

    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public Integer computeNext() {
                switch (rep++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public Integer computeNext() {
                switch (rep++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        getList().add(getNumElements() / 2, e3());
        expectAdded(getNumElements() / 2, e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAtIndex_end() {
        getList().add(getNumElements(), e3());
        expectAdded(getNumElements(), e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HostSpecifier.java

     *
     * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
     * URI, the domain name case is further restricted to include only those domain names which end in a
     * recognized public suffix; see {@link InternetDomainName#isPublicSuffix()} for details.
     *
     * <p>Note that no network lookups are performed by any {@code HostSpecifier} methods. No attempt is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ResourcesTest.java

            Resources.readLines(resource, Charsets.US_ASCII, collectAndLowercaseAndTrim);
        assertEquals(3600, result.size());
        assertEquals("ALICE'S ADVENTURES IN WONDERLAND", result.get(0));
        assertEquals("THE END", result.get(result.size() - 1));
      }
    
      public void testCopyToOutputStream() throws IOException {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        URL resource = getClass().getResource("testdata/i18n.txt");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PreconditionsTest.java

              .hasMessageThat()
              .isEqualTo("end index (2) must not be greater than size (1)");
        }
      }
    
      public void testCheckPositionIndexes_reversed() {
        try {
          Preconditions.checkPositionIndexes(1, 0, 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
          assertThat(expected)
              .hasMessageThat()
              .isEqualTo("end index (0) must not be less than start index (1)");
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            } else if (MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(rootSession.getReactorFailureBehavior())) {
                // continue the build
            } else if (MavenExecutionRequest.REACTOR_FAIL_AT_END.equals(rootSession.getReactorFailureBehavior())) {
                // continue the build but ban all projects that depend on the failed one
                buildContext.getReactorBuildStatus().blackList(mavenProject);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ReaderInputStream.java

          } else {
            // (3) Entire buffer is full, need bigger buffer.
            charBuffer = grow(charBuffer);
          }
        }
    
        // (1) Read more characters into free space at end of array.
        int limit = charBuffer.limit();
        int numChars = reader.read(charBuffer.array(), limit, availableCapacity(charBuffer));
        if (numChars == -1) {
          endOfInput = true;
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            URL u = locator.getURL();
    
            FileEntry[] entries;
    
            if ( u.getPath().lastIndexOf('/') != ( u.getPath().length() - 1 ) )
                throw new SmbException(u.toString() + " directory must end with '/'");
    
            if ( locator.getType() != SmbConstants.TYPE_SERVER )
                throw new SmbException("The requested list operations is invalid: " + u.toString());
    
            Set<FileEntry> set = new HashSet<>();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
      // may put a thread into an uninterruptible operation intentionally, so there is no other way to
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top