Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 154 for IsSkip (0.28 sec)

  1. src/strings/strings_test.go

    	for i := 0; i < b.N; i++ {
    		Trim(x, " ")
    	}
    }
    
    func BenchmarkIndexPeriodic(b *testing.B) {
    	key := "aa"
    	for _, skip := range [...]int{2, 4, 8, 16, 32, 64} {
    		b.Run(fmt.Sprintf("IndexPeriodic%d", skip), func(b *testing.B) {
    			s := Repeat("a"+Repeat(" ", skip-1), 1<<16/skip)
    			for i := 0; i < b.N; i++ {
    				Index(s, key)
    			}
    		})
    	}
    }
    
    func BenchmarkJoin(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. src/crypto/tls/tls_test.go

    	// localhost TCP connection, the peer TCP connection can
    	// immediately read it. Because it's racy, we skip this test
    	// in short mode, and then retry it several times with an
    	// increasing sleep in between our final write (via srv.Close
    	// below) and the following read.
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    	var err error
    	for delay := time.Millisecond; delay <= 64*time.Millisecond; delay *= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  3. pkg/apis/batch/validation/validation.go

    			// allow the NodeAffinity field to skip immutability checking
    			oldTemplate.Spec.Affinity = &api.Affinity{NodeAffinity: template.Spec.Affinity.NodeAffinity} // +k8s:verify-mutation:reason=clone
    		case template.Spec.Affinity != nil && oldTemplate.Spec.Affinity != nil:
    			// allow the NodeAffinity field to skip immutability checking
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/dwarf.go

    		for i := 0; i < nfields; i++ {
    			f := decodetypeStructFieldName(d.ldr, d.arch, gotype, i)
    			s := decodetypeStructFieldType(d.ldr, d.arch, gotype, i)
    			if f == "" {
    				sn := d.ldr.SymName(s)
    				f = sn[5:] // skip "type:"
    			}
    			fld := d.newdie(die, dwarf.DW_ABRV_STRUCTFIELD, f)
    			d.newrefattr(fld, dwarf.DW_AT_type, d.defgotype(s))
    			offset := decodetypeStructFieldOffset(d.ldr, d.arch, gotype, i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher_test.go

    			}
    			wg.Wait()
    		})
    	}
    }
    
    func TestAttacherWaitForVolumeAttachmentWithCSIDriver(t *testing.T) {
    	// In order to detect if the volume plugin would skip WaitForAttach for non-attachable drivers,
    	// we do not instantiate any VolumeAttachment. So if the plugin does not skip attach,  WaitForVolumeAttachment
    	// will return an error that volume attachment was not found.
    	tests := []struct {
    		name         string
    		driver       string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  6. fastapi/param_functions.py

        from typing import Annotated
    
        from fastapi import Depends, FastAPI
    
        app = FastAPI()
    
    
        async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  7. pkg/proxy/winkernel/proxier.go

    	winProxyOptimization := isEndpointChange && svcInfo.winProxyOptimization
    	if winProxyOptimization {
    		klog.V(3).InfoS("Skipped loadbalancer deletion.", "hnsID", svcInfo.hnsID, "nodePorthnsID", svcInfo.nodePorthnsID, "winProxyOptimization", svcInfo.winProxyOptimization, "isEndpointChange", isEndpointChange)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier.go

    	}
    
    	if scheduler == "" {
    		scheduler = defaultScheduler
    	}
    
    	// If any virtual server (VS) using the scheduler exist we skip the checks.
    	vservers, err := ipvs.GetVirtualServers()
    	if err != nil {
    		logger.Error(err, "Can't read the ipvs")
    		return err
    	}
    	logger.V(5).Info("Virtual Servers", "count", len(vservers))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  9. src/time/format.go

    	}
    	return n, s[i:], nil
    }
    
    func cutspace(s string) string {
    	for len(s) > 0 && s[0] == ' ' {
    		s = s[1:]
    	}
    	return s
    }
    
    // skip removes the given prefix from value,
    // treating runs of space characters as equivalent.
    func skip(value, prefix string) (string, error) {
    	for len(prefix) > 0 {
    		if prefix[0] == ' ' {
    			if len(value) > 0 && value[0] != ' ' {
    				return value, errBad
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/types.go

    	// delete) or an object that cannot have labels (like a
    	// DeploymentRollback or a PodProxyOptions object) is not considered to
    	// match.
    	// Use the object selector only if the webhook is opt-in, because end
    	// users may skip the admission webhook by setting the labels.
    	// Default to the empty LabelSelector, which matches everything.
    	// +optional
    	ObjectSelector *metav1.LabelSelector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
Back to top