Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,348 for rand_r (0.14 sec)

  1. android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /** Returns a random portion of the requested bytes on each call. */
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
        this.random = checkNotNull(random);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/run_dirs.txt

    cd rundir
    
    ! go run x.go sub/sub.go
    stderr 'named files must all be in one directory; have . and sub'
    ! go run sub/sub.go x.go
    stderr 'named files must all be in one directory; have sub and .'
    
    cd ../
    go run rundir/foo.go ./rundir/bar.go
    stderr 'hello world'
    
    -- rundir/sub/sub.go --
    package main
    -- rundir/x.go --
    package main
    -- rundir/foo.go --
    package main
    func main() { println(msg) }
    -- rundir/bar.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 16 14:25:50 UTC 2021
    - 449 bytes
    - Viewed (0)
  3. pilot/pkg/xds/testdata/benchmarks/gateways-shared.yaml

      servers:
      - port:
          number: 80
          name: http
          protocol: HTTP
        hosts:
        - random-1.host.example
        - random-2.host.example
        - random-3.host.example
      - port:
          number: 443
          name: https
          protocol: HTTPS
        hosts:
        - random-1.host.example
        - random-2.host.example
        - random-3.host.example
        tls:
          mode: ISTIO_MUTUAL
    ---
    {{- range $i := until .Services }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 01 15:55:05 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /** Returns a random portion of the requested bytes on each call. */
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
        this.random = checkNotNull(random);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc

        // schedule each time we remat, so only a few iterations...
        std::array<int, 3> randos;
        const auto& [begin, end, insert] = randos;
        for (int i = 0, num_operations = kNumOperations; i < 4;
             ++i, num_operations += end - begin) {
          std::uniform_int_distribution<int> some_op(0, num_operations - 1);
          for (auto& rando : randos) {
            rando = some_op(rng);
          }
          // We need begin <= end <= insert.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  6. operator/pkg/object/testdata/well-formed-with-comments.yaml

    # some random comments
     # some random comments
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: myconfigmap
      namespace: default # some random comments should be deleted
    data:
      mydata: |-
        First line of data # some random comments should not be deleted
        Second line of data
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 19:39:36 UTC 2023
    - 304 bytes
    - Viewed (0)
  7. docs/de/docs/reference/responses.md

                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.ORJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Feb 19 15:53:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

    public class AccessTokenHelper {
    
        protected static final String BEARER = "Bearer";
    
        protected Random random = new SecureRandom();
    
        public String generateAccessToken() {
            return RandomStringUtils.random(ComponentUtil.getFessConfig().getApiAccessTokenLengthAsInteger(), 0, 0, true, true, null, random);
        }
    
        public String getAccessTokenFromRequest(final HttpServletRequest request) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/reporting/HtmlReportRendererTest.groovy

            def pageRenderer = Mock(ReportRenderer)
    
            when:
            renderer.render("test: \u03b1\u03b2", reportRenderer, destDir)
    
            then:
            1 * reportRenderer.render(_, _) >> { String model, HtmlReportBuilder builder ->
                builder.renderHtmlPage("index.html", model, pageRenderer)
            }
            1 * pageRenderer.render(_, _) >> { String model, HtmlPageBuilder<SimpleHtmlWriter> builder ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  10. docs/en/docs/reference/responses.md

                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.ORJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top