Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,051 for dope (0.07 sec)

  1. src/cmd/link/internal/ld/main.go

    	if ctxt.IsELF {
    		bench.Start("doelf")
    		ctxt.doelf()
    	}
    	if ctxt.IsDarwin() {
    		bench.Start("domacho")
    		ctxt.domacho()
    	}
    	if ctxt.IsWindows() {
    		bench.Start("dope")
    		ctxt.dope()
    		bench.Start("windynrelocsyms")
    		ctxt.windynrelocsyms()
    	}
    	if ctxt.IsAIX() {
    		bench.Start("doxcoff")
    		ctxt.doxcoff()
    	}
    
    	bench.Start("textbuildid")
    	ctxt.textbuildid()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/pe.go

    	pefile.dataDirectory[pe.IMAGE_DIRECTORY_ENTRY_BASERELOC].VirtualAddress = rsect.virtualAddress
    	pefile.dataDirectory[pe.IMAGE_DIRECTORY_ENTRY_BASERELOC].Size = rsect.virtualSize
    }
    
    func (ctxt *Link) dope() {
    	initdynimport(ctxt)
    	initdynexport(ctxt)
    	writeSEH(ctxt)
    }
    
    func setpersrc(ctxt *Link, syms []loader.Sym) {
    	if len(rsrcsyms) != 0 {
    		Errorf(nil, "too many .rsrc sections")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  3. internal/config/lambda/target/lazyinit.go

    type lazyInit struct {
    	done uint32
    	m    sync.Mutex
    }
    
    func (l *lazyInit) Do(f func() error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.doSlow(f)
    	}
    	return nil
    }
    
    func (l *lazyInit) doSlow(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if atomic.LoadUint32(&l.done) == 0 {
    		if err := f(); err != nil {
    			return err
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. internal/once/init.go

    	if atomic.LoadUint32(&l.done) == 0 {
    		if err := f(); err != nil {
    			return err
    		}
    		// Mark as done only when f() is successful
    		atomic.StoreUint32(&l.done, 1)
    	}
    	return nil
    }
    
    // DoWithContext is similar to Do except that it accepts a context as an argument to be passed.
    func (l *Init) DoWithContext(ctx context.Context, f func(context.Context) error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 04:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. cmd/shared-lock.go

    	ctx, cancel := context.WithCancel(context.Background())
    	go func() {
    		select {
    		case <-ctx1.Done():
    		case <-ctx2.Done():
    		// The lock acquirer decides to cancel, exit this goroutine
    		case <-ctx.Done():
    		}
    
    		cancel()
    	}()
    	return ctx, cancel
    }
    
    func (ld sharedLock) GetLock(ctx context.Context) (context.Context, context.CancelFunc) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. internal/ioutil/wait_pipe.go

    // PipeWriter is similar to io.PipeWriter with wait group
    type PipeWriter struct {
    	*io.PipeWriter
    	once sync.Once
    	done func()
    }
    
    // CloseWithError close with supplied error the writer end.
    func (w *PipeWriter) CloseWithError(err error) error {
    	err = w.PipeWriter.CloseWithError(err)
    	w.once.Do(func() {
    		w.done()
    	})
    	return err
    }
    
    // PipeReader is similar to io.PipeReader with wait group
    type PipeReader struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 27 14:55:36 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. internal/grid/stream.go

    			}
    			err = next(resp.Msg)
    			if err != nil {
    				s.cancel(err)
    				return err
    			}
    		}
    	}
    }
    
    // Done will return a channel that will be closed when the stream is done.
    // This mirrors context.Done().
    func (s *Stream) Done() <-chan struct{} {
    	return s.ctx.Done()
    }
    
    // Err will return the error that caused the stream to end.
    // This mirrors context.Err().
    func (s *Stream) Err() error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. internal/logger/target/kafka/kafka_scram_client_contrib.go

    func (x *XDGSCRAMClient) Step(challenge string) (response string, err error) {
    	response, err = x.ClientConversation.Step(challenge)
    	return
    }
    
    // Done returns true if the conversation is completed or has errored.
    func (x *XDGSCRAMClient) Done() bool {
    	return x.ClientConversation.Done()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. cmd/os_other.go

    		maxEntries = opts.count
    	}
    
    	done := false
    	remaining := opts.count
    
    	for !done {
    		// Read up to max number of entries.
    		fis, err := d.Readdir(maxEntries)
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return nil, osErrToFileErr(err)
    		}
    		if opts.count > -1 {
    			if remaining <= len(fis) {
    				fis = fis[:remaining]
    				done = true
    			}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. cmd/bootstrap-messages.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top