Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for elim (0.66 sec)

  1. src/cmd/compile/internal/types2/conversions.go

    					*cause = "conversion of slice to array requires go1.20 or later"
    				}
    				return false
    			}
    		case *Pointer:
    			if a, _ := under(a.Elem()).(*Array); a != nil {
    				if Identical(s.Elem(), a.Elem()) {
    					if check == nil || check.allowVersion(x, go1_17) {
    						return true
    					}
    					// check != nil
    					if cause != nil {
    						*cause = "conversion of slice to array pointer requires go1.17 or later"
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/testing/fstest/mapfs.go

    	var list []mapFileInfo
    	var elem string
    	var need = make(map[string]bool)
    	if name == "." {
    		elem = "."
    		for fname, f := range fsys {
    			i := strings.Index(fname, "/")
    			if i < 0 {
    				if fname != "." {
    					list = append(list, mapFileInfo{fname, f})
    				}
    			} else {
    				need[fname[:i]] = true
    			}
    		}
    	} else {
    		elem = name[strings.LastIndex(name, "/")+1:]
    		prefix := name + "/"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/errors/wrap.go

    	}
    	val := reflectlite.ValueOf(target)
    	typ := val.Type()
    	if typ.Kind() != reflectlite.Ptr || val.IsNil() {
    		panic("errors: target must be a non-nil pointer")
    	}
    	targetType := typ.Elem()
    	if targetType.Kind() != reflectlite.Interface && !targetType.Implements(errorType) {
    		panic("errors: *target must be interface or implement error")
    	}
    	return as(err, target, val, targetType)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:04 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/reflect/type_test.go

    		{new(mystring), reflect.TypeFor[mystring]()},
    		{new(any), reflect.TypeFor[any]()},
    		{new(myiface), reflect.TypeFor[myiface]()},
    	}
    	for _, tc := range testcases {
    		want := reflect.ValueOf(tc.wantFrom).Elem().Type()
    		if want != tc.got {
    			t.Errorf("unexpected reflect.Type: got %v; want %v", tc.got, want)
    		}
    	}
    }
    
    func TestStructOfEmbeddedIfaceMethodCall(t *testing.T) {
    	type Named interface {
    		Name() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/under.go

    	if Identical(x, y) {
    		return x
    	}
    
    	// We may have channels that differ in direction only.
    	if x, _ := x.(*Chan); x != nil {
    		if y, _ := y.(*Chan); y != nil && Identical(x.elem, y.elem) {
    			// We have channels that differ in direction only.
    			// If there's an unrestricted channel, select the restricted one.
    			switch {
    			case x.dir == SendRecv:
    				return y
    			case y.dir == SendRecv:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 22:34:27 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/go/types/under.go

    	if Identical(x, y) {
    		return x
    	}
    
    	// We may have channels that differ in direction only.
    	if x, _ := x.(*Chan); x != nil {
    		if y, _ := y.(*Chan); y != nil && Identical(x.elem, y.elem) {
    			// We have channels that differ in direction only.
    			// If there's an unrestricted channel, select the restricted one.
    			switch {
    			case x.dir == SendRecv:
    				return y
    			case y.dir == SendRecv:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 22:34:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testshared/testdata/depBase/dep.go

    	// This code below causes various go.itab.* symbols to be generated in
    	// the shared library. Similar code in ../exe/exe.go results in
    	// exercising https://golang.org/issues/17594
    	reflect.TypeOf(os.Stdout).Elem()
    	return 10
    }
    
    func F() int {
    	defer func() {}()
    	return V
    }
    
    func H() {
    	// Issue 67635: deadcoded closures causes linker crash.
    	func() { F() }()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/runtime/cgo/gcc_stack_unix.c

    	// (and the fallback doesn't work...). Illumos does not.
    	pthread_getattr_np(pthread_self(), &attr);  // GNU extension
    	pthread_attr_getstack(&attr, &addr, &size); // low address
    #elif defined(__illumos__)
    	pthread_attr_get_np(pthread_self(), &attr);
    	pthread_attr_getstack(&attr, &addr, &size); // low address
    #else
    	// We don't know how to get the current stacks, so assume they are the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 03:44:11 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. samples/bookinfo/src/reviews/Dockerfile

    # Not sure why but we need root to build. Ignore lint error, this is for a multistage builder so it doesn't matter.
    # hadolint ignore=DL3002
    USER 0
    COPY . /home/gradle
    
    RUN gradle build
    
    FROM open-liberty:24.0.0.1-kernel-slim-java17-openj9
    
    ENV SERVERDIRNAME reviews
    
    COPY --from=builder /home/gradle/reviews-wlpcfg/servers/LibertyProjectServer/ /opt/ol/wlp/usr/servers/defaultServer/
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 23:40:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. samples/helloworld/src/Dockerfile

    #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    #   See the License for the specific language governing permissions and
    #   limitations under the License.
    
    FROM python:3.12.1-slim
    
    WORKDIR /opt/microservices
    COPY app.py ./
    COPY requirements.txt ./
    
    # install the dependencies and packages in the requirements file
    RUN pip install --no-cache-dir --require-hashes -r requirements.txt
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 24 19:35:04 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top