Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 796 for Stream$ (0.07 sec)

  1. tests/test_datastructures.py

        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    async def test_upload_file():
        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
        assert file.size == 4
        await file.write(b" and more data!")
        assert await file.read() == b""
        assert file.size == 19
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                if (path != null) {
                    stream(path.split(File.pathSeparator)).of(stream -> stream.map(String::trim).forEach(s -> pathList.add(s)));
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("search paths: {}", pathList);
                }
                available = generatorList.stream().map(s -> {
                    if (s.startsWith("${path}")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.function.BiConsumer;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static java.util.regex.Pattern.quote;
    
    /**
     * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11.
     *
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/HashBiMap.java

      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

        protected boolean enabled = true;
    
        public RobotsTxt parse(final InputStream stream) {
            return parse(stream, Constants.UTF_8);
        }
    
        public RobotsTxt parse(final InputStream stream, final String charsetName) {
            if (!enabled) {
                return null;
            }
    
            try {
                @SuppressWarnings("resource")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    	start := time.Now()
    	stream, err := handler.Call(context.Background(), remoteConn, &testRequest{Num: 1, String: testPayload})
    	errFatal(err)
    	go func() {
    		defer close(stream.Requests)
    		for i := 0; i < payloads; i++ {
    			// t.Log("sending new client request")
    			stream.Requests <- &testRequest{Num: i, String: testPayload}
    		}
    	}()
    	var n int
    	err = stream.Results(func(resp *testResponse) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            activeProfileId.addAll(request.getProfileActivation().getOptionalActiveProfileIds());
    
            return request.getProfiles().stream()
                    .filter(profile -> activeProfileId.contains(profile.getId()))
                    .map(ModelBase::getProperties)
                    .flatMap(properties -> properties.entrySet().stream())
                    .filter(e -> e.getValue() != null)
                    .collect(Collectors.toMap(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MoreFiles.java

        try (DirectoryStream<Path> stream = Files.newDirectoryStream(path)) {
          if (stream instanceof SecureDirectoryStream) {
            SecureDirectoryStream<Path> sds = (SecureDirectoryStream<Path>) stream;
            exceptions = deleteDirectoryContentsSecure(sds);
          } else {
            checkAllowsInsecure(path, options);
            exceptions = deleteDirectoryContentsInsecure(stream);
          }
        } catch (IOException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/Handler.java

        };
    
        private static URLStreamHandlerFactory factory;
    
        /**
         * Sets the URL stream handler factory for the environment.  This
         * allows specification of the factory used in creating underlying
         * stream handlers.  This can be called once per JVM instance.
         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
Back to top