Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for rewrites (0.42 sec)

  1. cluster/gce/util.sh

    function yaml-quote {
      echo "${@:-}" | sed -e "s/'/''/g;s/^/'/i;s/$/'/i"
    }
    
    # Writes the cluster location into a temporary file.
    # Assumed vars
    #   ZONE
    function write-cluster-location {
      cat >"${KUBE_TEMP}/cluster-location.txt" << EOF
    ${ZONE}
    EOF
    }
    
    # Writes the cluster name into a temporary file.
    # Assumed vars
    #   CLUSTER_NAME
    function write-cluster-name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    	c := ts.Client()
    
    	fetch := func(n, retries int) string {
    		condFatalf := func(format string, arg ...any) {
    			if retries <= 0 {
    				t.Fatalf(format, arg...)
    			}
    			t.Logf("retrying shortly after expected error: "+format, arg...)
    			time.Sleep(time.Second / time.Duration(retries))
    		}
    		for retries >= 0 {
    			retries--
    			res, err := c.Get(ts.URL)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    	fakePodControl.Err = errors.New("Controller error")
    	manager.queue.Add(key)
    	manager.processNextWorkItem(context.TODO())
    	retries := manager.queue.NumRequeues(key)
    	if retries != 1 {
    		t.Fatalf("%s: expected exactly 1 retry, got %d", job.Name, retries)
    	}
    	// await for the actual requeue after processing of the pending queue is done
    	awaitForQueueLen(ctx, t, manager, 1)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    	ab.buf[ab.off+1] = y
    	ab.buf[ab.off+2] = z
    	ab.buf[ab.off+3] = w
    	ab.off += 4
    }
    
    // PutInt16 writes v into the buffer using little-endian encoding.
    func (ab *AsmBuf) PutInt16(v int16) {
    	ab.buf[ab.off+0] = byte(v)
    	ab.buf[ab.off+1] = byte(v >> 8)
    	ab.off += 2
    }
    
    // PutInt32 writes v into the buffer using little-endian encoding.
    func (ab *AsmBuf) PutInt32(v int32) {
    	ab.buf[ab.off+0] = byte(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    	=> (EXTRWconst [32-c] x2 x)
    (XORshiftLL <t> [c] (UBFX [bfc] x) x2) && c < 32 && t.Size() == 4 && bfc == armBFAuxInt(32-c, c)
    	=> (EXTRWconst [32-c] x2 x)
    
    // Rewrite special pairs of shifts to AND.
    // On ARM64 the bitmask can fit into an instruction.
    (SRLconst [c] (SLLconst [c] x)) && 0 < c && c < 64 => (ANDconst [1<<uint(64-c)-1] x) // mask out high bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	}
    	return
    }
    
    const (
    	mrfSaveInterval  = 5 * time.Minute
    	mrfQueueInterval = mrfSaveInterval + time.Minute // A minute higher than save interval
    
    	mrfRetryLimit = 3 // max number of retries before letting scanner catch up on this object version
    	mrfMaxEntries = 1000000
    )
    
    func (p *ReplicationPool) persistMRF() {
    	if !p.initialized() {
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  7. src/runtime/proc.go

    	allglock mutex
    	allgs    []*g
    
    	// allglen and allgptr are atomic variables that contain len(allgs) and
    	// &allgs[0] respectively. Proper ordering depends on totally-ordered
    	// loads and stores. Writes are protected by allglock.
    	//
    	// allgptr is updated before allglen. Readers should read allglen
    	// before allgptr to ensure that allglen is always <= len(allgptr). New
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
       * Number of cache access operations that can be buffered per segment before the cache's recency
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  9. src/database/sql/sql_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer tx.Rollback()
    
    	_, err = tx.Query("SELECT|t1|name|")
    	if err == nil {
    		t.Fatal("Error expected")
    	}
    }
    
    // Tests fix for issue 4433, that retries in Begin happen when
    // conn.Begin() returns ErrBadConn
    func TestTxErrBadConn(t *testing.T) {
    	db, err := Open("test", fakeDBName+";badConn")
    	if err != nil {
    		t.Fatalf("Open: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. src/database/sql/sql.go

    			db.freeConn = append(db.freeConn, dc)
    			db.startCleanerLocked()
    			return true
    		}
    		db.maxIdleClosed++
    	}
    	return false
    }
    
    // maxBadConnRetries is the number of maximum retries if the driver returns
    // driver.ErrBadConn to signal a broken connection before forcing a new
    // connection to be opened.
    const maxBadConnRetries = 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
Back to top