Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for fulu (0.15 sec)

  1. src/bufio/bufio.go

    func (b *Reader) ReadBytes(delim byte) ([]byte, error) {
    	full, frag, n, err := b.collectFragments(delim)
    	// Allocate new buffer to hold the full pieces and the fragment.
    	buf := make([]byte, n)
    	n = 0
    	// Copy full pieces and fragment in.
    	for i := range full {
    		n += copy(buf[n:], full[i])
    	}
    	copy(buf[n:], frag)
    	return buf, err
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    		Example: `  # Retrieve summary about all configuration for a given pod from Envoy.
      istioctl proxy-config all <pod-name[.namespace]>
    
      # Retrieve full cluster dump as JSON
      istioctl proxy-config all <pod-name[.namespace]> -o json
    
      # Retrieve full cluster dump with short syntax
      istioctl pc a <pod-name[.namespace]>
    
      # Retrieve cluster summary without using Kubernetes API
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. misc/go_android_exec/exitcode_test.go

    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    	check("exitcode=123\n")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. tests/associations_test.go

    		t.Fatalf("Should not find deleted profile")
    	}
    }
    
    func TestFullSaveAssociations(t *testing.T) {
    	coupon := &Coupon{
    		AppliesToProduct: []*CouponProduct{
    			{ProductId: "full-save-association-product1"},
    		},
    		AmountOff:  10,
    		PercentOff: 0.0,
    	}
    
    	err := DB.
    		Session(&gorm.Session{FullSaveAssociations: true}).
    		Create(coupon).Error
    	if err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    }
    
    func (f *exitCodeFilter) Finish() (int, error) {
    	// f.buf could be empty, contain a partial match of exitRe, or
    	// contain a full match.
    	b := f.buf.Bytes()
    	defer f.buf.Reset()
    	match := f.exitRe.FindSubmatch(b)
    	if len(match) < 2 || match[1] == nil {
    		// Not a full match. Flush.
    		if _, err := f.w.Write(b); err != nil {
    			return 0, err
    		}
    		return 0, fmt.Errorf("no exit code (in %q)", string(b))
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  6. gorm.go

    	// You can disable it by setting `SkipDefaultTransaction` to true
    	SkipDefaultTransaction bool
    	// NamingStrategy tables, columns naming strategy
    	NamingStrategy schema.Namer
    	// FullSaveAssociations full save associations
    	FullSaveAssociations bool
    	// Logger
    	Logger logger.Interface
    	// NowFunc the function to be used when creating a new timestamp
    	NowFunc func() time.Time
    	// DryRun generate sql without execute
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  7. cmd/metacache-walk.go

    //go:generate msgp -file $GOFILE
    
    // WalkDirOptions provides options for WalkDir operations.
    type WalkDirOptions struct {
    	// Bucket to scanner
    	Bucket string
    
    	// Directory inside the bucket.
    	BaseDir string
    
    	// Do a full recursive scan.
    	Recursive bool
    
    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. cmd/erasure.go

    					// bucketResults channel while the
    					// updates-collector goroutine still
    					// holds a reference to this.
    					wg.Wait()
    					continue
    				}
    
    				wg.Wait()
    				// Flatten for upstream, but save full state.
    				var root dataUsageEntry
    				if r := cache.root(); r != nil {
    					root = cache.flatten(*r)
    					if root.ReplicationStats.empty() {
    						root.ReplicationStats = nil
    					}
    				}
    				select {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  9. src/cmd/api/main_test.go

    	// Diagnose common mistakes people make,
    	// since there is no apifmt to format these files.
    	// The missing final newline is important for the
    	// final release step of cat next/*.txt >go1.X.txt.
    	// If the files don't end in full lines, the concatenation goes awry.
    	if strings.Contains(s, "\r") {
    		log.Printf("%s: contains CRLFs", filename)
    		exitCode = 1
    	}
    	if filepath.Base(filename) == "go1.4.txt" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	}
    
    	toEncode := io.Reader(data)
    	if data.Size() > bigFileThreshold {
    		// Add input readahead.
    		// We use 2 buffers, so we always have a full buffer of input.
    		pool := globalBytePoolCap.Load()
    		bufA := pool.Get()
    		bufB := pool.Get()
    		defer pool.Put(bufA)
    		defer pool.Put(bufB)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top