Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 118 for PIPE (0.02 seconds)

  1. cmd/metacache-set.go

    		return nil
    	}
    	readers := make([]*metacacheReader, len(disks))
    	defer func() {
    		for _, r := range readers {
    			r.Close()
    		}
    	}()
    	for i := range disks {
    		r, w := io.Pipe()
    		// Make sure we close the pipe so blocked writes doesn't stay around.
    		defer r.CloseWithError(context.Canceled)
    
    		readers[i] = newMetacacheReader(r)
    		d := disks[i]
    
    		// Send request to each disk.
    		go func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  2. cmd/object-api-utils_test.go

    		{"Cost Benefit Analysis (2009-2010).pptx", true},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", true},
    		{"SHØRT", true},
    		{"f*le", true},
    		{"contains-^-caret", true},
    		{"contains-|-pipe", true},
    		{"contains-`-tick", true},
    		{"..test", true},
    		{".. test", true},
    		{". test", true},
    		{".test", true},
    		{"There are far too many object names, and far too few bucket names!", true},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  3. internal/ioutil/wait_pipe.go

    	err = r.PipeReader.CloseWithError(err)
    	r.wait()
    	return err
    }
    
    // WaitPipe implements wait-group backend io.Pipe to provide
    // synchronization between read() end with write() end.
    func WaitPipe() (*PipeReader, *PipeWriter) {
    	r, w := io.Pipe()
    	var wg sync.WaitGroup
    	wg.Add(1)
    	return &PipeReader{
    			PipeReader: r,
    			wait:       wg.Wait,
    		}, &PipeWriter{
    			PipeWriter: w,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 27 14:55:36 GMT 2023
    - 1.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFile.java

            if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
        @Override
        public boolean canWrite() throws SmbException {
            if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for writing?
                return true;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  5. internal/ringbuffer/ring_buffer_benchmark_test.go

    	buf := make([]byte, sz)
    
    	go func() {
    		for {
    			rb.Write(data)
    		}
    	}()
    
    	for b.Loop() {
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkIoPipeReader(b *testing.B) {
    	pr, pw := io.Pipe()
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	go func() {
    		for {
    			pw.Write(data)
    		}
    	}()
    
    	for b.Loop() {
    		pr.Read(buf)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. cmd/mrf.go

    	atomic.StoreInt32(&m.closed, 1)
    
    	if len(m.opCh) > 0 {
    		healingLogEvent(context.Background(), "Saving MRF healing data (%d entries)", len(m.opCh))
    	}
    
    	newReader := func() io.ReadCloser {
    		r, w := io.Pipe()
    		go func() {
    			// Initialize MRF meta header.
    			var data [4]byte
    			binary.LittleEndian.PutUint16(data[0:2], healMRFMetaFormat)
    			binary.LittleEndian.PutUint16(data[2:4], healMRFMetaVersionV1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. cmd/sftp-server-driver.go

    	if err != nil {
    		return nil, err
    	}
    	ok, err := clnt.BucketExists(r.Context(), bucket)
    	if err != nil {
    		return nil, err
    	}
    	if !ok {
    		return nil, os.ErrNotExist
    	}
    
    	pr, pw := io.Pipe()
    
    	wa := &writerAt{
    		buffer: make(map[int64][]byte),
    		w:      pw,
    		r:      pr,
    		wg:     &sync.WaitGroup{},
    	}
    	wa.wg.Add(1)
    	go func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                if (resp.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX
                        && (errorCode == 0 || errorCode == NtStatus.NT_STATUS_BUFFER_OVERFLOW)) {
                    // overflow indicator normal for pipe
                    final SmbComReadAndXResponse r = (SmbComReadAndXResponse) resp;
                    int off = SMB1_HEADER_LENGTH;
                    /* WordCount thru dataOffset always 27 */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  9. cmd/storage-rest-client.go

    	}
    	respBody, err := client.call(ctx, storageRESTMethodReadMultiple, nil, bytes.NewReader(body), int64(len(body)))
    	if err != nil {
    		return err
    	}
    	defer xhttp.DrainBody(respBody)
    
    	pr, pw := io.Pipe()
    	go func() {
    		pw.CloseWithError(waitForHTTPStream(respBody, xioutil.NewDeadlineWriter(pw, globalDriveConfig.GetMaxTimeout())))
    	}()
    	mr := msgp.NewReader(pr)
    	defer readMsgpReaderPoolPut(mr)
    	for {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.13.md

    - Windows runtime endpoints is now switched to `npipe:////./pipe/dockershim` from `tcp://localhost:3735`. ([#69516](https://github.com/kubernetes/kubernetes/pull/69516), [@feiskyer](https://github.com/feiskyer))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 273.1K bytes
    - Click Count (0)
Back to Top