Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 338 for original (0.17 sec)

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

    			ldr.SetSymExtname(s, newName)
    
    			// When linking against a shared library, the Go object file may
    			// have reference to the original symbol name whereas the shared
    			// library provides a symbol with the mangled name. We need to
    			// copy the payload of mangled to original.
    			// XXX maybe there is a better way to do this.
    			dup := ldr.Lookup(newName, ldr.SymVersion(s))
    			if dup != 0 {
    				st := ldr.SymType(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  2. src/internal/fuzz/worker.go

    				}
    				if result.crasherMsg == "" {
    					result.crasherMsg = err.Error()
    				}
    			}
    			if shouldPrintDebugInfo() {
    				w.coordinator.debugLogf(
    					"input minimized, id: %s, original id: %s, crasher: %t, originally crasher: %t, minimizing took: %s",
    					result.entry.Path,
    					input.entry.Path,
    					result.crasherMsg != "",
    					input.crasherMsg != "",
    					result.totalDuration,
    				)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/buildlist.go

    		newRS, rsErr := updateRoots(ctx, rs.direct, rs, nil, nil, false)
    		if rsErr != nil {
    			// Failed to update roots, perhaps because of an error in a transitive
    			// dependency needed for the update. Return the original Requirements
    			// instead.
    			return rs, mg, rsErr
    		}
    		rs = newRS
    		mg, mgErr = rs.Graph(ctx)
    	}
    
    	return rs, mg, mgErr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/unify.go

    		}
    
    	case *Named:
    		// Two named types unify if their type names originate in the same type declaration.
    		// If they are instantiated, their type argument lists must unify.
    		if y := asNamed(y); y != nil {
    			// Check type arguments before origins so they unify
    			// even if the origins don't match; for better error
    			// messages (see go.dev/issue/53692).
    			xargs := x.TypeArgs().list()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/compress/gzip/gunzip.go

    	z := new(Reader)
    	if err := z.Reset(r); err != nil {
    		return nil, err
    	}
    	return z, nil
    }
    
    // Reset discards the [Reader] z's state and makes it equivalent to the
    // result of its original state from [NewReader], but reading from r instead.
    // This permits reusing a [Reader] rather than allocating a new one.
    func (z *Reader) Reset(r io.Reader) error {
    	*z = Reader{
    		decompressor: z.decompressor,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. src/encoding/asn1/asn1.go

    		ret, err = time.Parse(formatStr, s)
    	}
    	if err != nil {
    		return
    	}
    
    	if serialized := ret.Format(formatStr); serialized != s {
    		err = fmt.Errorf("asn1: time did not serialize back to the original value and may be invalid: given %q, but serialized as %q", s, serialized)
    		return
    	}
    
    	if ret.Year() >= 2050 {
    		// UTCTime only encodes times prior to 2050. See https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  7. src/os/zero_copy_linux.go

    // tryLimitedReader tries to assert the io.Reader to io.LimitedReader, it returns the io.LimitedReader,
    // the underlying io.Reader and the remaining amount of bytes if the assertion succeeds,
    // otherwise it just returns the original io.Reader and the theoretical unlimited remaining amount of bytes.
    func tryLimitedReader(r io.Reader) (*io.LimitedReader, io.Reader, int64) {
    	var remain int64 = 1<<63 - 1 // by default, copy until EOF
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/os/exec/exec_test.go

    		t.Fatal(err)
    	}
    	if err := os.Chdir(dir); err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("Chdir(%#q)", dir)
    
    	t.Cleanup(func() {
    		if err := os.Chdir(prev); err != nil {
    			// Couldn't chdir back to the original working directory.
    			// panic instead of t.Fatal so that we don't run other tests
    			// in an unexpected location.
    			panic("couldn't restore working directory: " + err.Error())
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/abi.go

    		// to create duplicate ABI wrappers.
    		//
    		// However, if it's given a linkname for exporting to
    		// C, then we don't make ABI wrappers because the cgo
    		// tool wants the original definition.
    		hasBody := len(fn.Body) != 0
    		if sym.Linkname != "" && (hasBody || hasDefABI) && len(cgoExport) == 0 {
    			fn.ABIRefs |= obj.ABISetCallable
    		}
    
    		// Double check that cgo-exported symbols don't get
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/issues_test.go

    	// (see last comment in this function)
    	sources := [...]string{
    		"package p; type A interface{ A() }",
    		"package p; type B interface{ B() }",
    		"package p; type X interface{ A; B }",
    	}
    
    	// compute original file ASTs
    	var orig [len(sources)]*syntax.File
    	for i, src := range sources {
    		orig[i] = mustParse(src)
    	}
    
    	// run the test for all order permutations of the incoming files
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top