Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for grep (0.27 sec)

  1. cmd/admin-handlers.go

    function main() {
    	for file in $(ls -1); do
    		dest_file=$(echo "$file" | cut -d ":" -f1)
    		mv "$file" "$dest_file"
    	done
    
    	# Read content of inspect-input.txt
    	MINIO_OPTS=$(grep "Server command line args" <./inspect-input.txt | sed "s/Server command line args: //g" | sed -r "s#%s:\/\/#\.\/#g")
    
    	# Start MinIO instance using the options
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. internal/bucket/replication/rule.go

    	// Make subtype to avoid recursive UnmarshalXML().
    	type deleteReplication DeleteReplication
    	drep := deleteReplication{}
    
    	if err := dec.DecodeElement(&drep, &start); err != nil {
    		return err
    	}
    	if len(drep.Status) == 0 {
    		drep.Status = Disabled
    	}
    	d.Status = drep.Status
    	return nil
    }
    
    // ExistingObjectReplication - whether existing object replication is enabled
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    			cap0 = b.Cap()
    		}
    	}
    	cap1 := b.Cap()
    	// (*Buffer).grow allows for 2x capacity slop before sliding,
    	// so set our error threshold at 3x.
    	if cap1 > cap0*3 {
    		t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0)
    	}
    }
    
    func BenchmarkWriteByte(b *testing.B) {
    	const n = 4 << 10
    	b.SetBytes(n)
    	buf := NewBuffer(make([]byte, n))
    	for i := 0; i < b.N; i++ {
    		buf.Reset()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top