Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for randSeq (0.15 sec)

  1. pkg/proxy/util/linebuffer_test.go

    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			testBuffer.Reset()
    			discardBuffer.Reset()
    			for i := 0; i < testCase.expected; i++ {
    				testBuffer.Write(randSeq())
    				discardBuffer.Write(randSeq())
    			}
    			n := testBuffer.Lines()
    			if n != testCase.expected {
    				t.Fatalf("lines expected: %d, got: %d", testCase.expected, n)
    			}
    			n = discardBuffer.Lines()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 12:38:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. cluster/kubemark/iks/config-default.sh

    # limitations under the License.
    
    # Cloud information
    RANDGEN=$(dd if=/dev/urandom bs=64 count=1 2>/dev/null | base64 | tr -d "=+/" | dd bs=16 count=1 2>/dev/null | sed 's/[A-Z]//g')
    # shellcheck disable=2034 # Variable sourced in other scripts.
    KUBE_NAMESPACE="kubemark_${RANDGEN}"
    KUBEMARK_IMAGE_TAG="${KUBEMARK_IMAGE_TAG:-2}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 17:15:29 UTC 2019
    - 2.1K bytes
    - Viewed (0)
Back to top