Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 185 for pipe (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        source2!!.close()
        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null)
      }
    
      @Test
      fun racingReaders() {
        val pipe = Pipe(1024)
        val sink = pipe.sink.buffer()
        val relay = edit(file, pipe.source, metadata, 5)
        val future1 = executor.submit(sourceReader(relay.newSource()))
        val future2 = executor.submit(sourceReader(relay.newSource()))
        Thread.sleep(500)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtStatus.java

            "The security ID structure is invalid.", "The file system is full.", "All pipe instances are busy.", "All pipe instances are busy.",
            "The pipe state is invalid.", "All pipe instances are busy.", "No process is on the other end of the pipe.", "The pipe is being closed.",
            "Waiting for a process to open the other end of the pipe.", "File is a directory.", "A duplicate name exists on the network.",
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        private final Pipe pipe = new Pipe(8192);
        private final BufferedSink sink = Okio.buffer(pipe.sink());
    
        public BufferedSink sink() {
          return sink;
        }
    
        @Override public MediaType contentType() {
          return MEDIA_TYPE_MARKDOWN;
        }
    
        @Override public void writeTo(BufferedSink sink) throws IOException {
          sink.writeAll(pipe.source());
        }
      }
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                params += "&address=" + address;
            if (params.length() > 0)
                url += "?" + params.substring(1);
    
            pipe = new SmbNamedPipe(url,
                    /* This 0x20000 bit is going to get chopped! */
                    (0x2019F << 16) | SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT,
                    auth);
        }
    
        protected void doSendFragment(byte[] buf,
                        int off,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/TestProperties.java

        static final String EXCLUDE_TEST_MUTATIONS = "test.mutations.exclude";
    
        static final Object TEST_FIFO_PIPE = "test.pipe.fifo";
        static final Object TEST_TRANSACT_PIPE = "test.pipe.transact";
        static final Object TEST_CALL_PIPE = "test.pipe.call";
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Feb 29 16:38:58 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  6. cmd/bitrot-streaming.go

    	// Race condition is because of io.PipeWriter implementation. i.e consider the following
    	// sequent of operations:
    	// 1) pipe.Write()
    	// 2) pipe.Close()
    	// Now pipe.Close() can return before the data is read on the other end of the pipe and written to the disk
    	// Hence an immediate Read() on the file can return incorrect data.
    	if b.canClose != nil {
    		b.canClose.Wait()
    	}
    	return err
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

    
        /**
         * This stream class is unbuffered. Therefore this method will always
         * return 0 for streams connected to regular files. However, a
         * stream created from a Named Pipe this method will query the server using a
         * "peek named pipe" operation and return the number of available bytes
         * on the server.
         */
        @Override
        public int available () throws IOException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 07:12:23 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DosError.java

            "The pipe has been ended.", "The filename, directory name, or volume label syntax is incorrect.", "The directory is not empty.",
            "Cannot create a file when that file already exists.", "All pipe instances are busy.", "The pipe is being closed.",
            "No process is on the other end of the pipe.", "More data is available.", "This user account has expired.",
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 4.8K bytes
    - Viewed (1)
  9. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        public static final int FSCTL_DFS_GET_REFERRALS = 0x0060194;
        /**
         * 
         */
        public static final int FSCTL_PIPE_PEEK = 0x0011400C;
        /**
         * 
         */
        public static final int FSCTL_PIPE_WAIT = 0x00110018;
        /**
         * 
         */
        public static final int FSCTL_PIPE_TRANSCEIVE = 0x0011C017;
        /**
         * 
         */
        public static final int FSCTL_SRV_COPYCHUNK = 0x001440F2;
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

    public interface SmbPipeHandleInternal extends SmbPipeHandle {
    
        /**
         * @return the pipe type
         */
        int getPipeType ();
    
    
        /**
         * @return session key of the underlying smb session
         * @throws CIFSException
         */
        byte[] getSessionKey () throws CIFSException;
    
    
        /**
         * 
         * @return this pipe's input stream
         * @throws SmbException
         */
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
Back to top