- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 1,341 for varr (0.02 sec)
-
cmd/httprange_test.go
} } invalidRangeSpecs := []string{ "bytes=5-3", "bytes=10-10", "bytes=10-", "bytes=100-", "bytes=-0", } for i, irs := range invalidRangeSpecs { var err1, err2 error var rs *HTTPRangeSpec var o, l int64 rs, err1 = parseRequestRangeSpec(irs) if err1 == nil { o, l, err2 = rs.GetOffsetLength(resourceSize) } if isErrInvalidRange(err1) || (err1 == nil && isErrInvalidRange(err2)) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 05 16:56:21 UTC 2024 - 3.7K bytes - Viewed (0) -
src/bytes/reader_test.go
r := NewReader([]byte{}) var wg sync.WaitGroup for i := 0; i < 5; i++ { wg.Add(2) go func() { defer wg.Done() var buf [1]byte r.Read(buf[:]) }() go func() { defer wg.Done() r.Read(nil) }() } wg.Wait() } func TestReaderWriteTo(t *testing.T) { for i := 0; i < 30; i += 3 { var l int if i > 0 { l = len(testString) / i
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
.github/workflows/mint/nginx.conf
user nginx; worker_processes auto; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 4096; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" '
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.1K bytes - Viewed (0) -
src/archive/tar/common.go
// // As an example, if the underlying raw file contains the 10-byte data: // // var compactFile = "abcdefgh" // // And the sparse map has the following entries: // // var spd sparseDatas = []sparseEntry{ // {Offset: 2, Length: 5}, // Data fragment for 2..6 // {Offset: 18, Length: 3}, // Data fragment for 18..20 // } // var sph sparseHoles = []sparseEntry{ // {Offset: 0, Length: 2}, // Hole fragment for 0..1
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
String() string } func makeOutputWriter() writer { return &bytes.Buffer{} } var makeOutputWriterTestHook = makeOutputWriter // RemoteSecretAuthType is a strongly typed authentication type suitable for use with pflags.Var(). type ( RemoteSecretAuthType string SecretType string ) var _ pflag.Value = (*RemoteSecretAuthType)(nil)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
ion:function(a){if(null===a.match(/^(\d{2}):(\d{2})$/))return!1;var b=parseInt(a.split(":")[0],10),c=parseInt(a.split(":")[1],10);return!(b>23||c>59)},errorMessage:"",errorMessageKey:"badTime"}),a.formUtils.addValidator({name:"birthdate",validatorFunction:function(c,d,e){var f="yyyy-mm-dd";d.valAttr("format")?f=d.valAttr("format"):"undefined"!=typeof e.dateFormat&&(f=e.dateFormat);var g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("age-range")||"0-12...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0) -
schema/serializer.go
package schema import ( "bytes" "context" "database/sql" "database/sql/driver" "encoding/gob" "encoding/json" "fmt" "reflect" "strings" "sync" "time" ) var serializerMap = sync.Map{} // RegisterSerializer register serializer func RegisterSerializer(name string, serializer SerializerInterface) { serializerMap.Store(strings.ToLower(name), serializer) } // GetSerializer get serializer
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jun 20 08:45:38 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/webapp/js/index.js
$(function() { $("#contentQuery").focus(); var $searchButton = $("#searchButton"), contextPath = $("#contextPath").val(); $("#searchForm").on("submit", function(e) { $searchButton.attr("disabled", true); setTimeout(function() { $searchButton.attr("disabled", false); }, 3000); return true; }); $(document).on("click touchend", function(e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Mar 30 05:45:24 UTC 2023 - 2K bytes - Viewed (0) -
src/archive/tar/writer_test.go
testWrite{"\x00\x00", 2, nil}, testWrite{"abc", 3, nil}, testWrite{"\x00\x00", 2, errUnrefData}, }, }} for i, v := range vectors { var wantStr string bb := new(strings.Builder) w := testNonEmptyWriter{bb} var fw fileWriter switch maker := v.maker.(type) { case makeReg: fw = ®FileWriter{w, maker.size} wantStr = maker.wantStr case makeSparse:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
log.Debugf("Checking if pod %s/%s is enabled for ambient", namespace, name) const maxStaleRetries = 10 const msInterval = 10 retries := 0 var ambientPod *corev1.Pod var err error // The plugin already consulted the k8s API - but on this end handler caches may be stale, so retry a few times if we get no pod. // if err is returned, we couldn't find the pod
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 6.7K bytes - Viewed (0)