Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for rand (0.01 sec)

  1. src/bytes/bytes_test.go

    				rs = append(rs, r)
    			}
    		}
    	}
    	// Shuffle the runes so that they are not in descending order.
    	// The sort is deterministic since this is used for benchmarks,
    	// which need to be repeatable.
    	rr := rand.New(rand.NewSource(1))
    	rr.Shuffle(len(rs), func(i, j int) {
    		rs[i], rs[j] = rs[j], rs[i]
    	})
    	uchars := string(rs)
    
    	return func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		o := copy(buf, uchars)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    					t.Errorf("have=%q", written)
    				}
    			}
    		}
    	}
    }
    
    func TestWriterAppend(t *testing.T) {
    	got := new(bytes.Buffer)
    	var want []byte
    	rn := rand.New(rand.NewSource(0))
    	w := NewWriterSize(got, 64)
    	for i := 0; i < 100; i++ {
    		// Obtain a buffer to append to.
    		b := w.AvailableBuffer()
    		if w.Available() != cap(b) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Hex constant 0xFFFFFFFE00000002 (load of constant on < power10, pli on >= power10
    	MOVD $-8589934590, R5           // 3ca00000e8a50000 or 0602000038a00002
    
    	// For backwards compatibility, MOVW $const,Rx and MOVWZ $const,Rx assemble identically
    	// and accept the same constants.
    	MOVW $2147483648, R5            // 64058000
    	MOVWZ $-2147483648, R5          // 3ca08000
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 21 18:27:17 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

      // The units of total_size depend on is_list and type.
      // (1) If type == TF_ATTR_STRING and is_list == 0
      //     then total_size is the byte size of the string
      //     valued attribute.
      // (2) If type == TF_ATTR_STRING and is_list == 1
      //     then total_size is the cumulative byte size
      //     of all the strings in the list.
      // (3) If type == TF_ATTR_SHAPE and is_list == 0
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/arm64.s

    	AND	$0xff00ff, R2                       // AND	$16711935, R2                   // fb1f80d2fb1fa0f242001b8a
    	AND	$0xff00ffff, R1                     // AND	$4278255615, R1                 // fbff9fd21be0bff221001b8a
    	ANDS	$0xffff, R2                         // ANDS	$65535, R2                      // 423c40f2
    	AND	$0x7fffffff, R3                     // AND	$2147483647, R3                 // 63784092
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 10:48:50 UTC 2025
    - 95.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm.s

    	AND.S	R0@>28, R1           // 601e11e0
    	AND	R0<<R1, R2, R3       // 103102e0
    	AND	R0>>R1, R2, R3       // 303102e0
    	AND	R0->R1, R2, R3       // 503102e0
    	AND	R0@>R1, R2, R3       // 703102e0
    	AND.S	R0<<R1, R2, R3       // 103112e0
    	AND.S	R0>>R1, R2, R3       // 303112e0
    	AND.S	R0->R1, R2, R3       // 503112e0
    	AND.S	R0@>R1, R2, R3       // 703112e0
    	AND	R0<<R1, R2           // 102102e0
    	AND	R0>>R1, R2           // 302102e0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Fetch and see that the new value is returned.
      TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, num_dims, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(dims[0], returned_dims[0]);
      EXPECT_EQ(dims[1], returned_dims[1]);
    
      // Try to set 'unknown' with unknown rank on the shape and see that
      // it doesn't change.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. .bazelrc

    #     release_cpu_linux:               Toolchain and CUDA options for Linux CPU builds.
    #     release_gpu_linux:               Toolchain and CUDA options for Linux GPU builds.
    #     release_cpu_macos:               Toolchain and CUDA options for MacOS CPU builds.
    #     release_cpu_windows:             Toolchain and CUDA options for Windows CPU builds.
    # LINT.IfChange
    # Default build options. These are applied first and unconditionally.
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 22 21:03:34 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64.s

    	ADD	$-2048, X5				// 93820280
    
    	SLT	X6, X5, X7				// b3a36200
    	SLT	$55, X5, X7				// 93a37203
    	SLTU	X6, X5, X7				// b3b36200
    	SLTU	$55, X5, X7				// 93b37203
    
    	AND	X6, X5, X7				// b3f36200
    	AND	X5, X6					// 33735300
    	AND	$1, X5, X6				// 13f31200
    	AND	$1, X5					// 93f21200
    	OR	X6, X5, X7				// b3e36200
    	OR	X5, X6					// 33635300
    	OR	$1, X5, X6				// 13e31200
    	OR	$1, X5					// 93e21200
    	XOR	X6, X5, X7				// b3c36200
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 14:19:19 UTC 2025
    - 49.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/resources/extractor/eml/sample2.eml

    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <style type="text/css">
    
    @media only screen and (max-width: 420px) {
    a[class="article-headline"] {
    font-size:22px !important;
    line-height:28px !important;
    }
    td[class="story-attribution"]{
    font-size: 13px !important;
    }
    td[class="context"]{
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Jan 16 07:50:35 UTC 2016
    - 91.6K bytes
    - Viewed (0)
Back to top