Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for have (0.13 sec)

  1. cmd/erasure-healing-common_test.go

    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			4,
    		},
    		{
    			// 3. Tests common time obtained when elements have a mixture of
    			// sentinel values and don't have read quorum on any of the values.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 3).UTC(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  2. src/bufio/scan.go

    // scanners.
    func (s *Scanner) Scan() bool {
    	if s.done {
    		return false
    	}
    	s.scanCalled = true
    	// Loop until we have a token.
    	for {
    		// See if we can get a token with what we already have.
    		// If we've run out of data but have an error, give the split function
    		// a chance to recover any remaining, possibly empty token.
    		if s.end > s.start || s.err != nil {
    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. internal/dsync/dsync_test.go

    	wg.Wait()
    	// We expect at least 3 x 2 x testDrwMutexAcquireTimeout to have passed
    	elapsed := time.Since(started)
    	if elapsed < expect {
    		t.Errorf("expected at least %v time have passed, however %v passed", expect, elapsed)
    	}
    	t.Logf("expected at least %v time have passed, %v passed", expect, elapsed)
    }
    
    // Test two locks for different resources, both succeed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  4. cmd/metacache-entries.go

    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    func (m metaCacheEntriesSorted) shallowClone() metaCacheEntriesSorted {
    	// We have value receiver so we already have a copy.
    	m.o = m.o.shallowClone()
    	return m
    }
    
    // fileInfoVersions converts the metadata to FileInfoVersions where possible.
    // Metadata that cannot be decoded is skipped.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"io"
    	"math"
    	"net/http"
    	"time"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/net.go

    // we actually may have them before K8S in the Pod object.
    func (s *NetServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
    	log.Infof("in pod mode - adding pod %s/%s to ztunnel ", pod.Namespace, pod.Name)
    	// make sure the cache is aware of the pod, even if we don't have the netns yet.
    	s.currentPodSnapshot.Ensure(string(pod.UID))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  7. cmd/endpoint-ellipses.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    	"fmt"
    	"net/url"
    	"runtime"
    	"sort"
    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/batch-expire.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. cmd/erasure-metadata.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/hex"
    	"fmt"
    	"sort"
    	"strings"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  10. cmd/metacache-server-pool.go

    			return entries, io.EOF
    		}
    	}
    
    	// With max keys of zero we have reached eof, return right here.
    	if o.Limit == 0 {
    		return entries, io.EOF
    	}
    
    	// For delimiter and prefix as '/' we do not list anything at all
    	// along // with the prefix. On a flat namespace with 'prefix'
    	// as '/' we don't have any entries, since all the keys are
    	// of form 'keyName/...'
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top