Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 1,059 for Streams (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

      }
    
      /**
       * Returns a new source that writes bytes to [cacheRequest] as they are read by the source
       * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we
       * may never exhaust the source stream and therefore not complete the cached response.
       */
      @Throws(IOException::class)
      private fun cacheWritingResponse(
        cacheRequest: CacheRequest?,
        response: Response,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Arrays.stream;
    import static java.util.Objects.requireNonNull;
    import static java.util.stream.Stream.concat;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Converter;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            saveLayout(writer, typed);
        }
    
        /**
         * Store a properties into a output stream, preserving comments, special character, etc.
         * This method is mainly to be compatible with the java.util.Properties class.
         *
         * @param os an output stream.
         * @param comment this parameter is ignored as this Properties
         * @throws IOException If storing fails
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            saveLayout(writer, typed);
        }
    
        /**
         * Store a properties into a output stream, preserving comments, special character, etc.
         * This method is mainly to be compatible with the java.util.Properties class.
         *
         * @param os an output stream.
         * @param comment this parameter is ignored as this Properties
         * @throws IOException If storing fails
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/transport/Transport.java

        }
    
        private static int id = 0;
        private static final Logger log = LoggerFactory.getLogger(Transport.class);
    
        /**
         * Read bytes from the input stream into a buffer
         *
         * @param in the input stream to read from
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the number of bytes to read
         * @return number of bytes read
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.io;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  7. tests/associations_many2many_test.go

    	}
    
    	DB.Create(&users)
    
    	// Count
    	AssertAssociationCount(t, users, "Team", 6, "")
    
    	// Find
    	var teams []User
    	if DB.Model(&users).Association("Team").Find(&teams); len(teams) != 6 {
    		t.Errorf("teams count should be %v, but got %v", 6, len(teams))
    	}
    
    	// Append
    	teams1 := []User{*GetUser("friend-append-1", Config{})}
    	teams2 := []User{}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().spliterator();
          }
        }
    
        @Override
        public Stream<E> stream() {
          synchronized (mutex) {
            return delegate().stream();
          }
        }
    
        @Override
        public Stream<E> parallelStream() {
          synchronized (mutex) {
            return delegate().parallelStream();
          }
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Flushes the {@link OutputStream}.
         *
         * @param out the output stream
         */
        public static void flush(final OutputStream out) {
            if (out == null) {
                return;
            }
            try {
                out.flush();
            } catch (final IOException e) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

     * constants, the tests exercise the data and small helper logic in this
     * test class.
     */
    public class DosErrorTest {
        private static Optional<Integer> findNtStatus(int dosErrorCode) {
            return Arrays.stream(DosError.DOS_ERROR_CODES).filter(pair -> pair[0] == dosErrorCode).map(pair -> pair[1]).findFirst();
        }
    
        @Test
        @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty")
        void testCodesArrayExistence() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top