Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for readers (0.22 sec)

  1. cmd/metacache-set.go

    		// not a storage error.
    		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]
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. istioctl/pkg/analyze/analyze.go

    				return nil, err
    			}
    			readers = append(readers, dirReaders...)
    		} else {
    			if !isValidFile(f) {
    				fmt.Fprintf(cmd.ErrOrStderr(), "Skipping file %v, recognized file extensions are: %v\n", f, fileExtensions)
    				continue
    			}
    			rs, err := gatherFile(f)
    			if err != nil {
    				return nil, err
    			}
    			readers = append(readers, rs)
    		}
    	}
    	return readers, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. src/archive/zip/writer.go

    	// flag bit is set. However, there are several problems:
    	//
    	//	* Many ZIP readers still do not support UTF-8.
    	//	* If the UTF-8 flag is cleared, several readers simply interpret the
    	//	name and comment fields as whatever the local system encoding is.
    	//
    	// In order to avoid breaking readers without UTF-8 support,
    	// we avoid setting the UTF-8 flag if the strings are CP-437 compatible.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    	var found int
    	var notFound int
    	var foundNotEmpty int
    	var otherFound int
    	for _, readErr := range errs {
    		switch {
    		case readErr == nil:
    			found++
    		case readErr == errFileNotFound || readErr == errVolumeNotFound:
    			notFound++
    		case readErr == errVolumeNotEmpty:
    			foundNotEmpty++
    		default:
    			otherFound++
    		}
    	}
    	found = found + foundNotEmpty + otherFound
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            Set<WorkspaceReader> workspaceReaders = new LinkedHashSet<>();
            // 1) Reactor workspace reader
            WorkspaceReader reactorReader = lookup.lookup(WorkspaceReader.class, ReactorReader.HINT);
            workspaceReaders.add(reactorReader);
            // 2) Repository system session-scoped workspace reader (contains ide and exec request reader)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      }
    
      /** Accept headers from the network and store them until the client calls [takeHeaders]. */
      fun receiveHeaders(
        headers: Headers,
        inFinished: Boolean,
      ) {
        lock.assertNotHeld()
    
        val open: Boolean
        this.withLock {
          if (!hasResponseHeaders ||
            headers[Header.RESPONSE_STATUS_UTF8] != null ||
            headers[Header.TARGET_METHOD_UTF8] != null
          ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  7. cmd/endpoint-ellipses.go

    			newSetCounts[ss] = struct{}{}
    		}
    	}
    
    	setCounts = []uint64{}
    	for setCount := range newSetCounts {
    		setCounts = append(setCounts, setCount)
    	}
    
    	// Not necessarily needed but it ensures to the readers
    	// eyes that we prefer a sorted setCount slice for the
    	// subsequent function to figure out the right common
    	// divisor, it avoids loops.
    	sort.Slice(setCounts, func(i, j int) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    	return *resp, nil
    }
    
    // where we keep old *Readers
    var readMsgpReaderPool = sync.Pool{New: func() interface{} { return &msgp.Reader{} }}
    
    // mspNewReader returns a *Reader that reads from the provided reader.
    // The reader will be buffered.
    // Return with readMsgpReaderPoolPut when done.
    func msgpNewReader(r io.Reader) *msgp.Reader {
    	p := readMsgpReaderPool.Get().(*msgp.Reader)
    	if p.R == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            return FaultHidingSink(sink) {
              synchronized(this@DiskLruCache) {
                detach()
              }
            }
          }
        }
    
        /**
         * Commits this edit so it is visible to readers. This releases the edit lock so another edit
         * may be started on the same key.
         */
        @Throws(IOException::class)
        fun commit() {
          synchronized(this@DiskLruCache) {
            check(!done)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    		c.header.Set("Authorization", "Bearer "+c.auth(""))
    		c.header.Set("X-Minio-Time", time.Now().UTC().Format(time.RFC3339))
    
    		if len(c.header) > 0 {
    			dialer.Header = ws.HandshakeHeaderHTTP(c.header)
    		}
    		dialer.TLSConfig = c.tlsConfig
    		dialStarted := time.Now()
    		if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top