Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for r2 (0.03 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        rateLimiter.acquire(2); // R0.50, to repay previous (now the rate takes effect)
        rateLimiter.acquire(4); // R1.00, to repay previous
        rateLimiter.acquire(1); // R2.00, to repay previous
        assertEvents("R0.00", "R1.00", "R1.00", "R0.50", "R1.00", "R2.00");
      }
    
      public void testTryAcquire_noWaitAllowed() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        assertTrue(limiter.tryAcquire(0, SECONDS));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        rateLimiter.acquire(2); // R0.50, to repay previous (now the rate takes effect)
        rateLimiter.acquire(4); // R1.00, to repay previous
        rateLimiter.acquire(1); // R2.00, to repay previous
        assertEvents("R0.00", "R1.00", "R1.00", "R0.50", "R1.00", "R2.00");
      }
    
      public void testTryAcquire_noWaitAllowed() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        assertTrue(limiter.tryAcquire(0, SECONDS));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. .github/workflows/release-branch-cherrypick.yml

          # on that branch for a workflow.yml file, and we'd have to cherry-pick
          # this file into those branches.
          release_branch:
            description: 'Release branch name (e.g. r2.9)'
            required: true
            type: string
          git_commit:
            description: 'Git commit to cherry-pick'
            required: true
            type: string
    
    permissions:
      contents: read
    
    jobs:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. .github/workflows/arm-ci.yml

    # limitations under the License.
    # ==============================================================================
    
    name: ARM CI
    
    on:
      push:
        branches:
          - master
          - r2.**
    permissions:
      contents: read
    
    jobs:
      build:
        # Don't do this in forks, and if labeled, only for 'kokoro:force-run'
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. .github/workflows/arm-cd.yml

    # limitations under the License.
    # ==============================================================================
    
    name: ARM CD
    
    on:
      push:
        tags:
          - v2.**
        branches:
          - r2.**
      schedule:
        - cron: '0 8 * * *'
    
    permissions:
      contents: read
    
    jobs:
      build:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        runs-on: [self-hosted, linux, ARM64]
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. .github/workflows/sigbuild-docker-branch.yml

              password: ${{ secrets.GCP_CREDS }}
          -
            name: Generate variables for cache busting and tag naming
            run: |
              echo "DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
              # Converts r2.9 to just 2.9
              echo "REF=$(echo $GITHUB_REF_NAME | sed 's/r//g')" >> "$GITHUB_OUTPUT"
            id: vars
          -
            name: Build and push
            id: docker_build
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. internal/s3select/jstream/decoder.go

    		d.scratch.addRune(r)
    		goto scan
    	}
    	if c = d.next(); c != 'u' {
    		d.scratch.addRune(r)
    		goto scan_esc
    	}
    
    	r2 := d.u4()
    	if r2 < 0 {
    		return "", d.mkError(ErrSyntax, "in unicode escape sequence")
    	}
    
    	// write surrogate pair
    	d.scratch.addRune(utf16.DecodeRune(r, r2))
    	c = d.next()
    	goto scan
    }
    
    // u4 reads four bytes following a \u escape
    func (d *Decoder) u4() rune {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    		r1, size, _ := buf.ReadRune()
    		if err := buf.UnreadRune(); err != nil {
    			t.Fatalf("UnreadRune(%U) got error %q", r, err)
    		}
    		r2, nbytes, err := buf.ReadRune()
    		if r1 != r2 || r1 != r || nbytes != size || err != nil {
    			t.Fatalf("ReadRune(%U) after UnreadRune got %U,%d not %U,%d (err=%s)", r, r2, nbytes, r, size, err)
    		}
    	}
    }
    
    func TestWriteInvalidRune(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    	r.Reset(strings.NewReader("bar bar"))
    	checkAll(r, "bar bar")
    
    	// Wrap a reader and then Reset to that reader.
    	r.Reset(strings.NewReader("recur"))
    	r2 := NewReader(r)
    	checkAll(r2, "recur")
    	r.Reset(strings.NewReader("recur2"))
    	r2.Reset(r)
    	checkAll(r2, "recur2")
    }
    
    func TestWriterReset(t *testing.T) {
    	var buf1, buf2, buf3, buf4, buf5 strings.Builder
    	w := NewWriter(&buf1)
    	w.WriteString("foo")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/ppc64.s

    	OR $0, R0, R0                   // 60000000
    
    	PCALIGN $16
    	PNOP                            // 0700000000000000
    
    	SETB CR1,R3                     // 7c640100
    	VCLZLSBB V1,R2                  // 10400e02
    	VCTZLSBB V1,R2                  // 10410e02
    
    	XSMAXJDP VS1,VS2,VS3            // f0611480
    	XSMINJDP VS1,VS2,VS3            // f06114c0
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 13:14:38 UTC 2024
    - 51K bytes
    - Viewed (0)
Back to top