- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Gross (0.24 sec)
-
cni/test/install_cni.go
) { ztunnelAddr := "/tmp/ztfoo" cniEventAddr := "/tmp/cnieventfoo" defer os.Remove(ztunnelAddr) defer os.Remove(cniEventAddr) // "fake" constant, overridable for tests // TODO this is gross, fix this constants.ServiceAccountPath = tempK8sSvcAcctDir installConfig := config.Config{ InstallConfig: config.InstallConfig{ CNIEventAddress: cniEventAddr, ZtunnelUDSAddress: ztunnelAddr,
Go - Registered: Wed Mar 27 22:53:09 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
t.Fatal(err) } // Failure case where we detected successfully cross device mounts. { absPaths := []string{"/path/to/1"} if err = checkCrossDevice(absPaths, mountsPath); err == nil { t.Fatal("Expected to fail, but found success") } mp := []mountInfo{ {"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"}, }
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Viewed (0) -
cmd/crossdomain-xml-handler_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "net/http" "net/http/httptest" "testing" "github.com/minio/mux" ) // Test cross domain xml handler. func TestCrossXMLHandler(t *testing.T) { // Server initialization. router := mux.NewRouter().SkipClean(true).UseEncodedPath() handler := setCrossDomainPolicyMiddleware(router)
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Sat Jul 08 14:31:42 GMT 2023 - 1.3K bytes - Viewed (0) -
cmd/endpoint.go
return nil, fmt.Errorf("duplicate endpoints found") } uniqueArgs.Add(arg) endpoints = append(endpoints, endpoint) } return endpoints, nil } // Checks if there are any cross device mounts. func checkCrossDeviceMounts(endpoints Endpoints) (err error) { var absPaths []string for _, endpoint := range endpoints { if endpoint.IsLocal { var absPath string
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Feb 29 01:44:30 GMT 2024 - 34.1K bytes - Viewed (0) -
src/cmd/cgo/doc.go
"//go:build cgo". Therefore, if cgo is disabled, files that import "C" will not be built by the go tool. (For more about build constraints see https://golang.org/pkg/go/build/#hdr-Build_Constraints). When cross-compiling, you must specify a C cross-compiler for cgo to use. You can do this by setting the generic CC_FOR_TARGET or the more specific CC_FOR_${GOOS}_${GOARCH} (for example, CC_FOR_linux_arm)
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 42K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/tinylib/msgp/msgp" ) // Reject creating new versions when a single object is cross maxObjectVersions var maxObjectVersions = 10000 var ( // XL header specifies the format xlHeader = [4]byte{'X', 'L', '2', ' '} // Current version being written. xlVersionCurrent [4]byte )
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Fri Mar 15 01:07:19 GMT 2024 - 63.3K bytes - Viewed (1) -
cmd/crossdomain-xml-handler.go
package cmd import "net/http" // Standard cross domain policy information located at https://s3.amazonaws.com/crossdomain.xml const crossDomainXML = `<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-access-from domain="*" secure="false" /></cross-domain-policy>` // Standard path where an app would find cross domain policy information.
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Mon Mar 18 06:42:40 GMT 2024 - 2.2K bytes - Viewed (0) -
cmd/api-router.go
apiRouter.MethodNotAllowedHandler = collectAPIStats("methodnotallowed", httpTraceAll(methodNotAllowedHandler("S3"))) } // corsHandler handler for CORS (Cross Origin Resource Sharing) func corsHandler(handler http.Handler) http.Handler { commonS3Headers := []string{ xhttp.Date, xhttp.ETag, xhttp.ServerInfo, xhttp.Connection, xhttp.AcceptRanges,
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 22.8K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
// - mount.Path doesn't match (means cross-device mount), should error out. if mount.Path != path { crossMounts = append(crossMounts, mount) } } } msg := `Cross-device mounts detected on path (%s) at following locations %s. Export path should not have any sub-mounts, refusing to start.` if len(crossMounts) > 0 { // if paths didn't match then we do have cross-device mount.
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.7K bytes - Viewed (0) -
internal/config/browser/browser.go
switch referrerPolicy { case "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url": cfg.ReferrerPolicy = referrerPolicy default: return cfg, fmt.Errorf("invalid value %v for %s", referrerPolicy, browserReferrerPolicy) }
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Mon Jan 01 16:36:33 GMT 2024 - 5.5K bytes - Viewed (0)