Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 266 for tp (0.02 sec)

  1. src/debug/pe/symbols_test.go

    			continue
    		}
    		ap, err := f.COFFSymbolReadSectionDefAux(k)
    		if tp.ok {
    			if err != nil {
    				t.Errorf("unexpected failure on %d, got error %v", k, err)
    				continue
    			}
    			got := fmt.Sprintf("%+v", *ap)
    			if got != tp.auxstr {
    				t.Errorf("COFFSymbolReadSectionDefAux on %d bad return, got:\n%s\nwant:\n%s\n", k, got, tp.auxstr)
    				continue
    			}
    		} else {
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 18:07:48 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/emitdata_test.go

    	withAndWithoutRunner(func(setGoCoverDir bool, tag string) {
    		tp := "emitToWriter"
    		rdir, edir := mktestdirs(t, tag, tp, dir)
    		output, err := runHarness(t, harnessPath, tp, setGoCoverDir, rdir, edir)
    		if err != nil {
    			t.Logf("%s", output)
    			t.Fatalf("running 'harness -tp %s': %v", tp, err)
    		}
    		want := []string{"main", tp}
    		avoid := []string{"final"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/apitesting/naming/naming.go

    }
    
    func ensureNoTags(gvk schema.GroupVersionKind, tp reflect.Type, parents []reflect.Type, typesAllowedTags map[reflect.Type]bool) []error {
    	errs := []error{}
    	if _, ok := typesAllowedTags[tp]; ok {
    		return errs
    	}
    
    	// Don't look at the same type multiple times
    	if containsType(parents, tp) {
    		return nil
    	}
    	parents = append(parents, tp)
    
    	switch tp.Kind() {
    	case reflect.Map, reflect.Slice, reflect.Pointer:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  4. src/internal/lazytemplate/lazytemplate.go

    	once sync.Once
    	tmpl *template.Template
    }
    
    func (r *Template) tp() *template.Template {
    	r.once.Do(r.build)
    	return r.tmpl
    }
    
    func (r *Template) build() {
    	r.tmpl = template.Must(template.New(r.name).Parse(r.text))
    	r.name, r.text = "", ""
    }
    
    func (r *Template) Execute(w io.Writer, data any) error {
    	return r.tp().Execute(w, data)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. pkg/envoy/agent_test.go

    	cleanup      func()
    	blockChannel chan any
    }
    
    func (tp TestProxy) Run(stop <-chan error) error {
    	if tp.run == nil {
    		return nil
    	}
    	return tp.run(stop)
    }
    
    func (tp TestProxy) Drain(bool) error {
    	tp.blockChannel <- "unblock"
    	return nil
    }
    
    func (tp TestProxy) Cleanup() {
    	if tp.cleanup != nil {
    		tp.cleanup()
    	}
    }
    
    func (tp TestProxy) UpdateConfig(_ []byte) error {
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 19 20:22:09 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/netpoll_kqueue.go

    func netpoll(delay int64) (gList, int32) {
    	if kq == -1 {
    		return gList{}, 0
    	}
    	var tp *timespec
    	var ts timespec
    	if delay < 0 {
    		tp = nil
    	} else if delay == 0 {
    		tp = &ts
    	} else {
    		ts.setNsec(delay)
    		if ts.tv_sec > 1e6 {
    			// Darwin returns EINVAL if the sleep time is too long.
    			ts.tv_sec = 1e6
    		}
    		tp = &ts
    	}
    	var events [64]keventt
    retry:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    		tp.addr = tp.elem + alignDown(n-(tp.elem-oldelem), ptrBits*goarch.PtrSize)
    	} else {
    		tp.addr += alignDown(n, ptrBits*goarch.PtrSize)
    	}
    
    	if tp.addr-tp.elem >= tp.typ.PtrBytes {
    		// We're starting in the non-pointer area of an array.
    		// Move up to the next element.
    		tp.elem += tp.typ.Size_
    		tp.addr = tp.elem
    		tp.mask = readUintptr(tp.typ.GCData)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. src/runtime/tagptr_32bit.go

    	return taggedPointer(uintptr(ptr))<<32 | taggedPointer(tag)
    }
    
    // Pointer returns the pointer from a taggedPointer.
    func (tp taggedPointer) pointer() unsafe.Pointer {
    	return unsafe.Pointer(uintptr(tp >> 32))
    }
    
    // Tag returns the tag from a taggedPointer.
    func (tp taggedPointer) tag() uintptr {
    	return uintptr(tp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:22:50 UTC 2023
    - 927 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsThumbnailQueueBhv.java

            return doSelectEntity(xprepareCBAsPK(id), tp);
        }
    
        protected ThumbnailQueueCB xprepareCBAsPK(String id) {
            assertObjectNotNull("id", id);
            return newConditionBean().acceptPK(id);
        }
    
        protected <ENTITY extends ThumbnailQueue> OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoBhv.java

            return doSelectEntity(xprepareCBAsPK(id), tp);
        }
    
        protected CrawlingInfoCB xprepareCBAsPK(String id) {
            assertObjectNotNull("id", id);
            return newConditionBean().acceptPK(id);
        }
    
        protected <ENTITY extends CrawlingInfo> OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top