Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Krause (0.36 sec)

  1. cmd/metacache.go

    	// metacacheSharePrefix controls whether prefixes on dirty paths are always shared.
    	// This will make `test/a` and `test/b` share listings if they are concurrent.
    	// Enabling this will make cache sharing more likely and cause less IO,
    	// but may cause additional latency to some calls.
    	metacacheSharePrefix = false
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // metacache contains a tracked cache entry.
    type metacache struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/metacache-walk.go

    			return convertAccessError(err, errVolumeAccessDenied)
    		}
    	}
    
    	// Use a small block size to start sending quickly
    	w := newMetacacheWriter(wr, 16<<10)
    	w.reuseBlocks = true // We are not sharing results, so reuse buffers.
    	defer w.Close()
    	out, err := w.stream()
    	if err != nil {
    		return err
    	}
    	defer xioutil.SafeClose(out)
    	var objsReturned int
    
    	objReturned := func(metadata []byte) {
    		if opts.Limit <= 0 {
    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)
  3. cmd/erasure.go

    		state = madmin.DriveStatePermission
    	case errors.Is(err, errFaultyDisk):
    		state = madmin.DriveStateFaulty
    	case err == nil:
    		state = madmin.DriveStateOk
    	default:
    		state = fmt.Sprintf("%s (cause: %s)", madmin.DriveStateUnknown, err)
    	}
    
    	return
    }
    
    func getOnlineOfflineDisksStats(disksInfo []madmin.Disk) (onlineDisks, offlineDisks madmin.BackendDisks) {
    	onlineDisks = make(madmin.BackendDisks)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  4. internal/ioutil/ioutil.go

    }
    
    // Close closer interface to close the underlying closer
    func (w *DeadlineWriter) Close() error {
    	err := w.WriteCloser.Close()
    	w.err = err
    	if err == nil {
    		w.err = errors.New("we are closed") // Avoids any reuse on the Write() side.
    	}
    	return err
    }
    
    // LimitWriter implements io.WriteCloser.
    //
    // This is implemented such that we want to restrict
    // an enscapsulated writer upto a certain length
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. internal/grid/muxserver.go

    	if !m.checkSeq(seq) {
    		msg := fmt.Sprintf("receive sequence number mismatch. want %d, got %d", m.RecvSeq, seq)
    		return pongMsg{Err: &msg}
    	}
    	select {
    	case <-m.ctx.Done():
    		err := context.Cause(m.ctx).Error()
    		return pongMsg{Err: &err}
    	default:
    		atomic.StoreInt64(&m.LastPing, time.Now().Unix())
    		return pongMsg{}
    	}
    }
    
    func (m *muxServer) disconnect(msg string) {
    	if debugPrint {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    			return ep, fmt.Errorf("empty or root path is not supported in URL endpoint")
    		}
    
    		// On windows having a preceding SlashSeparator will cause problems, if the
    		// command line already has C:/<export-folder/ in it. Final resulting
    		// path on windows might become C:/C:/ this will cause problems
    		// of starting minio server properly in distributed mode on windows.
    		// As a special case make sure to trim the separator.
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  7. CREDITS

    ================================================================
    
    github.com/lufia/plan9stats
    https://github.com/lufia/plan9stats
    ----------------------------------------------------------------
    BSD 3-Clause License
    
    Copyright (c) 2019, KADOTA, Kyohei
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  8. cmd/admin-handlers-site-replication.go

    	data, err := io.ReadAll(body)
    	if err != nil {
    		return SRError{
    			Cause: err,
    			Code:  ErrSiteReplicationInvalidRequest,
    		}
    	}
    	if encryptionKey != "" {
    		data, err = madmin.DecryptData(encryptionKey, bytes.NewReader(data))
    		if err != nil {
    			return SRError{
    				Cause: err,
    				Code:  ErrSiteReplicationInvalidRequest,
    			}
    		}
    	}
    	return json.Unmarshal(data, v)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  9. cmd/erasure-decode.go

    				readTriggerCh <- true
    				return
    			}
    			bufIdx := p.readerToBuf[i]
    			if p.buf[bufIdx] == nil {
    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. cmd/server-main.go

    			}
    			return nil
    		}
    
    		if configRetriableErrors(err) {
    			logger.Info("Waiting for all MinIO sub-systems to be initialized.. possible cause (%v)", err)
    			time.Sleep(time.Duration(r.Float64() * float64(5*time.Second)))
    			continue
    		}
    
    		// Any other unhandled return right here.
    		return fmt.Errorf("Unable to initialize sub-systems: %w", err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
Back to top