Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for We (0.19 sec)

  1. cmd/metacache-server-pool.go

    		if !HasPrefix(o.Marker, o.Prefix) {
    			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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables.go

    		cfg:    cfg,
    	}
    
    	// By detecting iptables versions *here* once-for-all we are
    	// committing to using the same binary/variant (legacy or nft)
    	// within all pods as we do on the host.
    	//
    	// This should be fine, as the host binaries are all we have to work with here anyway,
    	// as we are running within a privileged container - and we don't want to take the time to
    	// redetect for each pod anyway.
    	//
    	// Extreme corner case:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4.go

    // of the payload and verify that it matches the expected signature value.
    //
    // The last chunk is *always* 0-sized. So, we must only return io.EOF if we have encountered
    // a chunk with a chunk size = 0. However, this chunk still has a signature and we must
    // verify it.
    const maxChunkSize = 16 << 20 // 16 MiB
    
    // Read - implements `io.Reader`, which transparently decodes
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    		// There is at least one SSE-S3 single-part object.
    		// For all SSE-S3 single-part objects we have to
    		// fetch their decryption keys. We do this using
    		// a Bulk-Decryption API call, if available.
    		keys, err := crypto.S3.UnsealObjectKeys(ctx, k, metadata, buckets, names)
    		if err != nil {
    			return err
    		}
    
    		// Now, we have to decrypt the ETags of SSE-S3 single-part
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    	// Check if specified pools need to be removed from decommissioned pool.
    	for k := range specifiedPools {
    		pi, ok := rememberedPools[k]
    		if !ok {
    			// we do not have the pool anymore that we previously remembered, since all
    			// the CLI checks out we can allow updates since we are mostly adding a pool here.
    			update = true
    		}
    		if ok && pi.completed {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  6. internal/grid/benchmark_test.go

    						n++
    					}
    					atomic.AddInt64(&ops, int64(n))
    					atomic.AddInt64(&lat, latency)
    				})
    				spent := time.Since(t)
    				if spent > 0 && n > 0 {
    					// Since we are benchmarking n parallel servers we need to multiply by n.
    					// This will give an estimate of the total ops/s.
    					latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/ztunnelserver.go

    	PodDeleted(ctx context.Context, uid string) error
    	PodAdded(ctx context.Context, pod *v1.Pod, netns Netns) error
    	Close() error
    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers_test.go

    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{Name: "test"},
    		// TODO: once we if the add pod bug, re-enable this and remove the patch below
    		//		Labels: map[string]string{constants.DataplaneMode: constants.DataplaneModeAmbient},
    
    	}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 2 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 2)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    				}
    				return
    			}
    		}
    	}()
    	return func(err error) {
    		if doneCh == nil {
    			return
    		}
    
    		// Indicate we are ready to write.
    		doneCh <- err
    
    		// Wait for channel to be closed so we don't race on writes.
    		<-doneCh
    
    		// Clear so we can be called multiple times without crashing.
    		doneCh = nil
    	}, &closeNotifier{rc: r.Body, done: bodyDoneCh}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. internal/rest/client.go

    func removeEmptyPort(host string) string {
    	if hasPort(host) {
    		return strings.TrimSuffix(host, ":")
    	}
    	return host
    }
    
    // Copied from http.NewRequest but implemented to ensure we reuse `url.URL` instance.
    func (c *Client) newRequest(ctx context.Context, u url.URL, body io.Reader) (*http.Request, error) {
    	rc, ok := body.(io.ReadCloser)
    	if !ok && body != nil {
    		rc = io.NopCloser(body)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
Back to top