Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 195 for derer (0.11 sec)

  1. src/cmd/go/internal/work/shell.go

    	}
    	return &Shell{shellShared: shared}
    }
    
    // Print emits a to this Shell's output stream, formatting it like fmt.Print.
    // It is safe to call concurrently.
    func (sh *Shell) Print(a ...any) {
    	sh.printLock.Lock()
    	defer sh.printLock.Unlock()
    	sh.printFunc(a...)
    }
    
    func (sh *Shell) printLocked(a ...any) {
    	sh.printFunc(a...)
    }
    
    // WithAction returns a Shell identical to sh, but bound to Action a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/asm_test.go

    func TestPfxAlign(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	dir, err := os.MkdirTemp("", "testpfxalign")
    	if err != nil {
    		t.Fatalf("could not create directory: %v", err)
    	}
    	defer os.RemoveAll(dir)
    
    	pgms := []struct {
    		text   []byte
    		align  string
    		hasNop bool
    	}{
    		{[]byte(x0pgm), "align=0x0", false},     // No alignment or nop adjustments needed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    		panic(fmt.Sprintf("unknown block type %T", b))
    	}
    }
    
    func parseMarkdownFile(fsys fs.FS, path string) (*md.Document, error) {
    	f, err := fsys.Open(path)
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    	data, err := io.ReadAll(f)
    	if err != nil {
    		return nil, err
    	}
    	in := string(data)
    	doc := NewParser().Parse(in)
    	return doc, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testerrors/errors_test.go

    		}
    		expect(t, file, errors)
    	})
    }
    
    func expect(t *testing.T, file string, errors []*regexp.Regexp) {
    	dir, err := os.MkdirTemp("", filepath.Base(t.Name()))
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    
    	dst := filepath.Join(dir, strings.TrimSuffix(file, ".go"))
    	cmd := exec.Command("go", "build", "-gcflags=-L -e", "-o="+dst, path(file)) // TODO(gri) no need for -gcflags=-L if go tool is adjusted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPsiJavaClassSymbol.kt

        override val psi: PsiClass,
        override val analysisSession: KaFirSession,
    ) : KaFirNamedClassOrObjectSymbolBase(), KaFirPsiSymbol<PsiClass, FirRegularClassSymbol> {
        /**
         * [javaClass] is used to defer some properties to the compiler's view of a Java class.
         */
        private val javaClass: JavaClass = JavaClassImpl(JavaElementSourceFactory.getInstance(analysisSession.project).createPsiSource(psi))
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/cmd/dist/testjson.go

    )
    
    // lockedWriter serializes Write calls to an underlying Writer.
    type lockedWriter struct {
    	lock sync.Mutex
    	w    io.Writer
    }
    
    func (w *lockedWriter) Write(b []byte) (int, error) {
    	w.lock.Lock()
    	defer w.lock.Unlock()
    	return w.w.Write(b)
    }
    
    // testJSONFilter is an io.Writer filter that replaces the Package field in
    // test2json output.
    type testJSONFilter struct {
    	w       io.Writer // Underlying writer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/expr.go

    //
    //	n.Left = tcCompLit(n.Left)
    func tcCompLit(n *ir.CompLitExpr) (res ir.Node) {
    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcCompLit", n)(&res)
    	}
    
    	lno := base.Pos
    	defer func() {
    		base.Pos = lno
    	}()
    
    	ir.SetPos(n)
    
    	t := n.Type()
    	base.AssertfAt(t != nil, n.Pos(), "missing type in composite literal")
    
    	switch t.Kind() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/covdata/metamerge.go

    	}
    	mm.astate.Merge(state)
    }
    
    func copyMetaDataFile(inpath, outpath string) {
    	inf, err := os.Open(inpath)
    	if err != nil {
    		fatal("opening input meta-data file %s: %v", inpath, err)
    	}
    	defer inf.Close()
    
    	fi, err := inf.Stat()
    	if err != nil {
    		fatal("accessing input meta-data file %s: %v", inpath, err)
    	}
    
    	outf, err := os.OpenFile(outpath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, fi.Mode())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. schema/schema.go

    		cacheStore:       cacheStore,
    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    	// When the schema initialization is completed, the channel will be closed
    	defer close(schema.initialized)
    
    	// Load exist schema cache, return if exists
    	if v, ok := cacheStore.Load(schemaCacheKey); ok {
    		s := v.(*Schema)
    		// Wait for the initialization of other goroutines to complete
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. src/cmd/fix/main.go

    	var f *os.File
    	var err error
    	var fixlog strings.Builder
    
    	if useStdin {
    		f = os.Stdin
    	} else {
    		f, err = os.Open(filename)
    		if err != nil {
    			return err
    		}
    		defer f.Close()
    	}
    
    	src, err := io.ReadAll(f)
    	if err != nil {
    		return err
    	}
    
    	file, err := parser.ParseFile(fset, filename, src, parserMode)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top