Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 577 for Rourke (0.2 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

       * Returns a view of a slice of this byte source that is at most {@code length} bytes long
       * starting at the given {@code offset}. If {@code offset} is greater than the size of this
       * source, the returned source will be empty. If {@code offset + length} is greater than the size
       * of this source, the returned source will contain the slice starting at {@code offset} and
       * ending at the end of this source.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/StreamsTest.java

            Stream.<@Nullable Object>of((Object) null).flatMap(unused -> Stream.of("a", "b", "c")));
      }
    
      private void testMapWithIndex_closeIsPropagated(Stream<String> source) {
        AtomicInteger stringsCloseCount = new AtomicInteger();
        Stream<String> strings = source.onClose(stringsCloseCount::incrementAndGet);
        Stream<String> withIndex = Streams.mapWithIndex(strings, (str, i) -> str + ":" + i);
    
        withIndex.close();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        ByteSource equalSource = new TestByteSource(bytes);
        assertTrue(source.contentEquals(equalSource));
        assertTrue(new TestByteSource(bytes).contentEquals(source));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

         * @param source the source location
         * @param sourceDominant the boolean indicating of {@code source} is dominant compared to {@code target}
         * @return the merged location
         */
        public static InputLocation merge(InputLocation target, InputLocation source, boolean sourceDominant) {
            if (source == null) {
                return target;
            } else if (target == null) {
                return source;
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

        /**
         * Gets the global Toolchains source.
         *
         * @return the global Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getGlobalToolchainsSource();
    
        /**
         * Gets the user Toolchains source.
         *
         * @return the user Toolchains source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getUserToolchainsSource();
    
        @Nonnull
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(STRING.length(), source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertEquals(STRING, sink.getString());
      }
    
      public void testRead_toString() throws IOException {
        assertEquals(STRING, source.read());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

          for (CharSource source : sources) {
            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        assertEquals(testString.length() * 3, result.length());
      }
    
      public void testReady() throws Exception {
        CharSource source = newCharSource("a");
        Iterable<? extends CharSource> list = ImmutableList.of(source, source);
        Reader joinedReader = CharSource.concat(list).openStream();
    
        assertTrue(joinedReader.ready());
        assertEquals('a', joinedReader.read());
    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)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

                result.setDescription(DfTypeUtil.toString(source.get("description")));
                result.setHandlerName(DfTypeUtil.toString(source.get("handlerName")));
                result.setHandlerParameter(DfTypeUtil.toString(source.get("handlerParameter")));
                result.setHandlerScript(DfTypeUtil.toString(source.get("handlerScript")));
                result.setName(DfTypeUtil.toString(source.get("name")));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

        }
    
        private static class MappedToolchainsSource implements org.apache.maven.building.Source {
            private final Source source;
    
            MappedToolchainsSource(Source source) {
                this.source = source;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                return source.openStream();
            }
    
            @Override
            public String getLocation() {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Sep 11 16:14:36 GMT 2023
    - 5.3K bytes
    - Viewed (0)
Back to top