Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsUnixDomainSocketPipe (0.26 sec)

  1. pkg/util/filesystem/util_windows_test.go

    import (
    	"math/rand"
    	"net"
    	"os"
    	"sync"
    	"testing"
    	"time"
    
    	winio "github.com/Microsoft/go-winio"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    )
    
    func TestIsUnixDomainSocketPipe(t *testing.T) {
    	generatePipeName := func(suffixLen int) string {
    		letter := []rune("abcdef0123456789")
    		b := make([]rune, suffixLen)
    		for i := range b {
    			b[i] = letter[rand.Intn(len(letter))]
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:10:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top