Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for echo (0.15 sec)

  1. cmd/admin-handlers.go

    	# Start MinIO instance using the options
    	START_CMD="CI=on _MINIO_AUTO_DRIVE_HEALING=off minio server ${MINIO_OPTS} &"
    	echo
    	echo "Starting MinIO instance: ${START_CMD}"
    	echo
    	eval "$START_CMD"
    	MINIO_SRVR_PID="$!"
    	echo "MinIO Server PID: ${MINIO_SRVR_PID}"
    	echo
    	echo "Waiting for MinIO instance to get ready!"
    	sleep 10
    }
    
    main "$@"`, scheme)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. internal/grid/connection_test.go

    		Local:        localHost,
    		Hosts:        hosts,
    		AddAuth:      func(aud string) string { return aud },
    		AuthRequest:  dummyRequestValidate,
    		BlockConnect: connReady,
    	})
    	errFatal(err)
    
    	// 1: Echo
    	errFatal(local.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("1: server payload: ", len(payload), "bytes.")
    		return append([]byte{}, payload...), nil
    	}))
    	// 2: Return as error
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    	// still broken on our builders in 2023. Instead, append the exitcode to
    	// the output and parse it from there.
    	filter, exitStr := newExitCodeFilter(os.Stdout)
    	args += "; echo -n " + exitStr + "$?"
    
    	cmd := adbCmd("exec-out", args)
    	cmd.Stdout = filter
    	// If the adb subprocess somehow hangs, go test will kill this wrapper
    	// and wait for our os.Stderr (and os.Stdout) to close as a result.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. internal/etag/etag_test.go

    		}
    		if equal := Equal(A, B); equal != test.Equal {
    			t.Fatalf("Test %d: got %v - want %v", i, equal, test.Equal)
    		}
    	}
    }
    
    var readerTests = []struct { // Reference values computed by: echo <content> | md5sum
    	Content string
    	ETag    ETag
    }{
    	{
    		Content: "", ETag: ETag{212, 29, 140, 217, 143, 0, 178, 4, 233, 128, 9, 152, 236, 248, 66, 126},
    	},
    	{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  5. internal/grid/grid_test.go

    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	grid, err := SetupTestGrid(2)
    	errFatal(err)
    	remoteHost := grid.Hosts[1]
    	local := grid.Managers[0]
    
    	// 1: Echo
    	errFatal(local.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("1: server payload: ", len(payload), "bytes.")
    		return append([]byte{}, payload...), nil
    	}))
    	// 2: Return as error
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    				Gname:    "staff",
    				ModTime:  time.Unix(1360135598, 0),
    			}, nil},
    			testWrite{"hello\n", 6, nil},
    			testClose{nil},
    		},
    	}, {
    		// This file was produced using GNU tar v1.26:
    		//	echo "Slartibartfast" > file.txt
    		//	ln file.txt hard.txt
    		//	tar -b 1 --format=ustar -c -f hardlink.tar file.txt hard.txt
    		file: "testdata/hardlink.tar",
    		tests: []testFnc{
    			testHeader{Header{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  7. internal/grid/benchmark_test.go

    	grid, err := SetupTestGrid(n)
    	errFatal(err)
    	b.Cleanup(grid.Cleanup)
    	// Create n managers.
    	for _, remote := range grid.Managers {
    		// Register a single handler which echos the payload.
    		errFatal(remote.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) {
    			defer PutByteBuffer(payload)
    			return append(GetByteBuffer()[:0], payload...), nil
    		}))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
Back to top