Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sr (0.18 sec)

  1. src/bytes/bytes.go

    	for ; i < len(s) && i < len(t); i++ {
    		sr := s[i]
    		tr := t[i]
    		if sr|tr >= utf8.RuneSelf {
    			goto hasUnicode
    		}
    
    		// Easy case.
    		if tr == sr {
    			continue
    		}
    
    		// Make sr < tr to simplify what follows.
    		if tr < sr {
    			tr, sr = sr, tr
    		}
    		// ASCII only, sr/tr must be upper/lower case
    		if 'A' <= sr && sr <= 'Z' && tr == sr+'a'-'A' {
    			continue
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    			bf := b[:min(int64(len(b)), holeStart-sr.pos)]
    			nf, err = tryReadFull(sr.fr, bf)
    		} else { // In a hole fragment
    			bf := b[:min(int64(len(b)), holeEnd-sr.pos)]
    			nf, err = tryReadFull(zeroReader{}, bf)
    		}
    		b = b[nf:]
    		sr.pos += int64(nf)
    		if sr.pos >= holeEnd && len(sr.sp) > 1 {
    			sr.sp = sr.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    	n = len(b0) - len(b)
    	switch {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ConcurrencyTest.java

        @Test
        public void testExclusiveLock () throws InterruptedException, MalformedURLException, UnknownHostException {
            String fname = makeRandomName();
            try ( SmbFile sr = getDefaultShareRoot();
                  SmbResource exclFile = new SmbFile(sr, fname) ) {
                ExclusiveLockFirst f = new ExclusiveLockFirst(exclFile);
                ExclusiveLockSecond s = new ExclusiveLockSecond(f, exclFile);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    		{sr("a", prefixSize) + "/", "", "", false},
    		{sr("a", prefixSize) + "/a", sr("a", prefixSize), "a", true},
    		{sr("a", nameSize+1), "", "", false},
    		{sr("/", nameSize+1), sr("/", nameSize-1), "/", true},
    		{sr("a", prefixSize) + "/" + sr("b", nameSize),
    			sr("a", prefixSize), sr("b", nameSize), true},
    		{sr("a", prefixSize) + "//" + sr("b", nameSize), "", "", false},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  5. cmd/bucket-replication-stats.go

    		return
    	}
    	atomic.AddInt64(&r.srStats.ReplicaSize, sz)
    	atomic.AddInt64(&r.srStats.ReplicaCount, 1)
    }
    
    func (r *ReplicationStats) srUpdate(sr replStat) {
    	dID, err := globalSiteReplicationSys.getDeplIDForEndpoint(sr.endpoint())
    	if err == nil {
    		r.srStats.update(sr, dID)
    	}
    }
    
    // Update updates in-memory replication statistics with new values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/bufio/scan_test.go

    // reads in Scanner.Scan.
    type slowReader struct {
    	max int
    	buf io.Reader
    }
    
    func (sr *slowReader) Read(p []byte) (n int, err error) {
    	if len(p) > sr.max {
    		p = p[0:sr.max]
    	}
    	return sr.buf.Read(p)
    }
    
    // genLine writes to buf a predictable but non-trivial line of text of length
    // n, including the terminal newline and an occasional carriage return.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    			}
    			return
    		}
    		if globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(sr)...)).IsEmpty() {
    			r.URL.Scheme = "http"
    			if globalIsTLS {
    				r.URL.Scheme = "https"
    			}
    			r.URL.Host = getHostFromSrv(sr)
    			// Make sure we remove any existing headers before
    			// proxying the request to another node.
    			for k := range w.Header() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. api/go1.19.txt

    pkg debug/elf, const R_LARCH_SOP_PUSH_TLS_TPREL R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_SL = 33 #46229
    pkg debug/elf, const R_LARCH_SOP_SL R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_SR = 34 #46229
    pkg debug/elf, const R_LARCH_SOP_SR R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_SUB = 32 #46229
    pkg debug/elf, const R_LARCH_SOP_SUB R_LARCH #46229
    pkg debug/elf, const R_LARCH_SUB16 = 53 #46229
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  9. cmd/storage-rest-server.go

    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    			// Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough
    			// for most setups.
    			_, err = rf.ReadFrom(sr.Reader)
    			if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients
    				storageLogIf(r.Context(), err)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. cmd/admin-handlers-site-replication.go

    	opts.ReplicateILMExpiry = r.Form.Get("replicateILMExpiry") == "true"
    	return
    }
    
    // SRPeerJoin - PUT /minio/admin/v3/site-replication/join
    //
    // used internally to tell current cluster to enable SR with
    // the provided peer clusters and service account.
    func (a adminAPIHandlers) SRPeerJoin(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
Back to top