Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 182 for mod$ (0.05 sec)

  1. src/go/types/expr.go

    	if t, ok := x.typ.(*Tuple); ok && x.mode != invalid {
    		// multiple values
    		list = make([]*operand, t.Len())
    		for i, v := range t.vars {
    			list[i] = &operand{mode: value, expr: e, typ: v.typ}
    		}
    		return
    	}
    
    	// exactly one (possibly invalid or comma-ok) value
    	list = []*operand{&x}
    	if allowCommaOk && (x.mode == mapindex || x.mode == commaok || x.mode == commaerr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_tls_test.go

    		enableVerifyCertAtClient bool
    	}{
    		{
    			name: "tls mode disabled",
    			opts: &buildClusterOpts{
    				mutable: newClusterWrapper(&cluster.Cluster{
    					Name: "test-cluster",
    				}),
    			},
    			tls: &networking.ClientTLSSettings{
    				Mode: networking.ClientTLSSettings_DISABLE,
    			},
    			result: expectedResult{nil, nil},
    		},
    		{
    			name: "tls mode ISTIO_MUTUAL",
    			opts: &buildClusterOpts{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    	if t, ok := x.typ.(*Tuple); ok && x.mode != invalid {
    		// multiple values
    		list = make([]*operand, t.Len())
    		for i, v := range t.vars {
    			list[i] = &operand{mode: value, expr: e, typ: v.typ}
    		}
    		return
    	}
    
    	// exactly one (possibly invalid or comma-ok) value
    	list = []*operand{&x}
    	if allowCommaOk && (x.mode == mapindex || x.mode == commaok || x.mode == commaerr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  4. src/net/http/client_test.go

    	run(t, func(t *testing.T, mode testMode) {
    		testRedirectsByMethod(t, mode, "DELETE", deleteRedirectTests, want)
    	})
    }
    
    func testRedirectsByMethod(t *testing.T, mode testMode, method string, table []redirectTest, want string) {
    	var log struct {
    		sync.Mutex
    		bytes.Buffer
    	}
    	var ts *httptest.Server
    	ts = newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. src/net/http/fs_test.go

    func TestFileServerNotDirError(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		t.Run("Dir", func(t *testing.T) {
    			testFileServerNotDirError(t, mode, func(path string) FileSystem { return Dir(path) })
    		})
    		t.Run("FS", func(t *testing.T) {
    			testFileServerNotDirError(t, mode, func(path string) FileSystem { return FS(os.DirFS(path)) })
    		})
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  6. src/os/os_test.go

    	}
    	if fi.Mode()&ModeDevice == 0 {
    		t.Errorf(pre+"wrong file mode %q: ModeDevice is not set", fi.Mode())
    	}
    	if fi.Mode()&ModeCharDevice == 0 {
    		t.Errorf(pre+"wrong file mode %q: ModeCharDevice is not set", fi.Mode())
    	}
    	if fi.Mode().IsRegular() {
    		t.Errorf(pre+"wrong file mode %q: IsRegular returns true", fi.Mode())
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  7. src/math/big/float_test.go

    			z := zbits.Float()
    
    			for i, mode := range [...]RoundingMode{ToZero, ToNearestEven, AwayFromZero} {
    				for _, prec := range precList {
    					got := new(Float).SetPrec(prec).SetMode(mode)
    					got.Add(x, y)
    					want := zbits.round(prec, mode)
    					if got.Cmp(want) != 0 {
    						t.Errorf("i = %d, prec = %d, %s:\n\t     %s %v\n\t+    %s %v\n\t=    %s\n\twant %s",
    							i, prec, mode, x, xbits, y, ybits, got, want)
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func get_MkdiratAddr() *(func(dirfd int, path string, mode uint32) (err error))
    
    var Mkdirat = enter_Mkdirat
    
    func enter_Mkdirat(dirfd int, path string, mode uint32) (err error) {
    	funcref := get_MkdiratAddr()
    	if funcptrtest(GetZosLibVec()+SYS___MKDIRAT_A<<4, "") == 0 {
    		*funcref = impl_Mkdirat
    	} else {
    		*funcref = error_Mkdirat
    	}
    	return (*funcref)(dirfd, path, mode)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	// create dswp
    	mode := v1.PersistentVolumeFilesystem
    	pv := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "dswp-test-volume-name",
    		},
    		Spec: v1.PersistentVolumeSpec{
    			ClaimRef:   &v1.ObjectReference{Namespace: "ns", Name: "file-bound"},
    			VolumeMode: &mode,
    		},
    	}
    	pvc := &v1.PersistentVolumeClaim{
    		Spec: v1.PersistentVolumeClaimSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  10. src/cmd/dist/test.go

    		if err != nil {
    			return nil
    		}
    
    		mode := info.Mode()
    		if mode&0222 != 0 && (mode.IsDir() || mode.IsRegular()) {
    			dirs = append(dirs, pathMode{path, mode})
    		}
    		return nil
    	})
    
    	// Run over list backward to chmod children before parents.
    	for i := len(dirs) - 1; i >= 0; i-- {
    		err := os.Chmod(dirs[i].path, dirs[i].mode&^0222)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top