Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for enid (0.15 sec)

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

        assertEquals(1, (int) iter.next());
    
        try {
          iter.peek();
          fail("peek() should throw NoSuchElementException at end");
        } catch (NoSuchElementException expected) {
        }
    
        try {
          iter.peek();
          fail("peek() should continue to throw NoSuchElementException at end");
        } catch (NoSuchElementException expected) {
        }
    
        try {
          iter.next();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

          }
        };
      }
    
      public void testSkip() throws Exception {
        String begin = "abcde";
        String end = "fghij";
        Reader joinedReader = CharSource.concat(newCharSource(begin), newCharSource(end)).openStream();
    
        String expected = begin + end;
        assertEquals(expected.charAt(0), joinedReader.read());
        CharStreams.skipFully(joinedReader, 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Lmhosts.java

                                 * all other includes up to the #END_ALTERNATE tag.
                                 */
    
                                while ( ( line = br.readLine() ) != null ) {
                                    line = line.toUpperCase().trim();
                                    if ( line.startsWith("#END_ALTERNATE") ) {
                                        break;
                                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/JdkPattern.java

          return matcher.find(index);
        }
    
        @Override
        public String replaceAll(String replacement) {
          return matcher.replaceAll(replacement);
        }
    
        @Override
        public int end() {
          return matcher.end();
        }
    
        @Override
        public int start() {
          return matcher.start();
        }
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

        }
    
        // Do *not* override offset() to delegate: We want to test the default implementation.
    
        @Override
        public long distance(Integer start, Integer end) {
          return DELEGATE.distance(start, end);
        }
    
        @Override
        public Integer minValue() {
          return DELEGATE.minValue();
        }
    
        @Override
        public Integer maxValue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

          + "QOhTsiedSrnAdyGN/4fy3ryM7xfft0kL0fJuMAsaDk527RH89elWsn2/x20Kk4yl\n"
          + "0MC2Hb46TpSi125sC8KKfPog88Tk5c0NqMuRkrF8hey1FGlmDoLnzc7ILaZRfyHB\n"
          + "NVOFBkpdn627G190\n"
          + "-----END CERTIFICATE-----\n");
    
      final X509Certificate entrustRootCertificateAuthority = Certificates.decodeCertificatePem(""
          + "-----BEGIN CERTIFICATE-----\n"
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 9.3K bytes
    - Viewed (2)
  7. android/guava/src/com/google/common/collect/ObjectArrays.java

        return result;
      }
    
      /**
       * Returns a new array that appends {@code element} to {@code array}.
       *
       * @param array the array of elements to prepend
       * @param element the element to append to the end
       * @return an array whose size is one larger than {@code array}, with the same contents as {@code
       *     array}, plus {@code element} occupying the last position.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Starts with an empty delimiter and changes to the desired value at the end of the iteration.
       */
      @Benchmark
      int assignDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
          String delim = "";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        expectAdded(getNumElements() / 2, createDisjointCollection());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_end() {
        assertTrue(
            "addAll(end, disjoint) should return true",
            getList().addAll(getNumElements(), createDisjointCollection()));
        expectAdded(getNumElements(), createDisjointCollection());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        
                pipe.send( req, resp );
                if( resp.status == TransPeekNamedPipeResponse.STATUS_DISCONNECTED ||
                        resp.status == TransPeekNamedPipeResponse.STATUS_SERVER_END_CLOSED ) {
                    file.opened = false;
                    return 0;
                }
                return resp.available;
            } catch (SmbException se) {
                throw seToIoe(se);
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
Back to top