Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for heading (0.31 sec)

  1. cni/pkg/iptables/iptables.go

    		"-i", "lo",
    		"-j", "ACCEPT")
    
    	// CLI: -A ISTIO_PRERT -p tcp -m tcp --dport <INPORT> -m mark ! --mark 0x539/0xfff -j TPROXY --on-port <INPORT> --on-ip 127.0.0.1 --tproxy-mark 0x111/0xfff
    	//
    	// DESC: Anything heading to <INPORT> that does not have the mark, TPROXY to ztunnel inbound port <INPORT>
    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, ChainInpodPrerouting, iptablesconstants.MANGLE,
    		"-p", "tcp",
    		"-m", "tcp",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    // license that can be found in the LICENSE file.
    
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // Scanner provides a convenient interface for reading data such as
    // a file of newline-delimited lines of text. Successive calls to
    // the [Scanner.Scan] method will step through the 'tokens' of a file, skipping
    // the bytes between the tokens. The specification of a token is
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	// time-duration to keep heal sequence state after it
    	// completes.
    	keepHealSeqStateDuration = time.Minute * 10
    
    	// nopHeal is a no operating healing action to
    	// wait for the current healing operation to finish
    	nopHeal = ""
    )
    
    var (
    	errHealIdleTimeout   = fmt.Errorf("healing results were not consumed for too long")
    	errHealStopSignalled = fmt.Errorf("heal stop signaled")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  4. src/archive/zip/reader.go

    	}
    	r := new(ReadCloser)
    	if err = r.init(f, fi.Size()); err != nil && err != ErrInsecurePath {
    		f.Close()
    		return nil, err
    	}
    	r.f = f
    	return r, err
    }
    
    // NewReader returns a new [Reader] reading from r, which is assumed to
    // have the given size in bytes.
    //
    // If any file inside the archive uses a non-local name
    // (as defined by [filepath.IsLocal]) or a name containing backslashes
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader.go

    	if cap(dst) < skip {
    		dst = make([]byte, 0, skip+1024)
    	}
    	dst = dst[:skip]
    	if skip > 0 {
    		n, err := io.ReadFull(r.buf, dst)
    		if err != nil && err != io.ErrUnexpectedEOF {
    			// If an EOF happens after reading some but not all the bytes,
    			// ReadFull returns ErrUnexpectedEOF.
    			return dst[:n], err
    		}
    		dst = dst[:n]
    		if err == io.ErrUnexpectedEOF {
    			return dst, io.EOF
    		}
    	}
    	// Read until next line.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    Harshavardhana <******@****.***> 1706647405 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. src/bufio/example_test.go

    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    // Return the most recent call to Scan as a []byte.
    func ExampleScanner_Bytes() {
    	scanner := bufio.NewScanner(strings.NewReader("gopher"))
    	for scanner.Scan() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. cmd/metrics-realtime.go

    			metrics[d.Endpoint] = madmin.DiskMetric{NDisks: 1, Offline: 1}
    			continue
    		}
    
    		var dm madmin.DiskMetric
    		dm.NDisks = 1
    		if d.Healing {
    			dm.Healing++
    		}
    		if d.Metrics != nil {
    			dm.LifeTimeOps = make(map[string]uint64, len(d.Metrics.APICalls))
    			for k, v := range d.Metrics.APICalls {
    				if v != 0 {
    					dm.LifeTimeOps[k] = v
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    			dcinfo.FreeInodes = di.Ffree
    			dcinfo.FSType = di.FSType
    			diskID, err := s.GetDiskID()
    			// Healing is 'true' when
    			// - if we found an unformatted disk (no 'format.json')
    			// - if we found healing tracker 'healing.bin'
    			dcinfo.Healing = errors.Is(err, errUnformattedDisk) || (s.Healing() != nil)
    			dcinfo.ID = diskID
    			return dcinfo, err
    		},
    	)
    
    	// Success.
    	return s, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. internal/hash/reader.go

    				ExpectedMD5:   v.Expected.String(),
    				CalculatedMD5: v.Computed.String(),
    			}
    		}
    	}
    	return n, err
    }
    
    // Size returns the absolute number of bytes the Reader
    // will return during reading. It returns -1 for unlimited
    // data.
    func (r *Reader) Size() int64 { return r.size }
    
    // ActualSize returns the pre-modified size of the object.
    // DecompressedSize - For compressed objects.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
Back to top