Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for fileRef (0.12 sec)

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

    			fileIdx, fileIdxOK := maindie.Val(dwarf.AttrDeclFile).(int64)
    			if !fileIdxOK {
    				t.Errorf("missing or invalid DW_AT_decl_file for main")
    			}
    			file, err := ex.FileRef(d, mainIdx, fileIdx)
    			if err != nil {
    				t.Fatalf("FileRef: %v", err)
    			}
    			base := filepath.Base(file)
    			if base != tc.file {
    				t.Errorf("DW_AT_decl_file for main is %v, want %v", base, tc.file)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/macho.go

    	}
    
    	var ms *MachoSeg
    	if ctxt.LinkMode == LinkExternal {
    		/* segment for entire file */
    		ms = newMachoSeg("", 40)
    
    		ms.fileoffset = Segtext.Fileoff
    		ms.filesize = Segdwarf.Fileoff + Segdwarf.Filelen - Segtext.Fileoff
    		ms.vsize = Segdwarf.Vaddr + Segdwarf.Length - Segtext.Vaddr
    	}
    
    	/* segment for zero page */
    	if ctxt.LinkMode != LinkExternal {
    		ms = newMachoSeg("__PAGEZERO", 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/pe.go

    		return
    	}
    	for _, sect := range Segdwarf.Sections {
    		h := f.addDWARFSection(sect.Name, int(sect.Length))
    		fileoff := sect.Vaddr - Segdwarf.Vaddr + Segdwarf.Fileoff
    		if uint64(h.pointerToRawData) != fileoff {
    			Exitf("%s.PointerToRawData = %#x, want %#x", sect.Name, h.pointerToRawData, fileoff)
    		}
    	}
    }
    
    // addSEH adds SEH information to the COFF file f.
    func (f *peFile) addSEH(ctxt *Link) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  4. src/go/token/position.go

    // file already in the file set. For convenience, [FileSet.Base] provides
    // such a value, which is simply the end of the Pos interval of the most
    // recently added file, plus one. Unless there is a need to extend an
    // interval later, using the [FileSet.Base] should be used as argument
    // for [FileSet.AddFile].
    //
    // A [File] may be removed from a FileSet when it is no longer needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. guava-gwt/pom.xml

                      <fileset dir="${project.build.directory}/guava-sources">
                        <contains text="@GwtCompatible"/>
                      </fileset>
                    </copy>
                    <!-- The following don't contain @GwtCompatible for dependency reasons. -->
                    <copy toDir="${project.build.directory}/guava-gwt-sources">
                      <fileset dir="${project.build.directory}/guava-sources">
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 15:00:55 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/go/token/position_test.go

    			}
    			j++
    			return true
    		})
    		if j != i+1 {
    			t.Errorf("got %d files; want %d", j, i+1)
    		}
    	}
    }
    
    // FileSet.File should return nil if Pos is past the end of the FileSet.
    func TestFileSetPastEnd(t *testing.T) {
    	fset := NewFileSet()
    	for _, test := range tests {
    		fset.AddFile(test.filename, fset.Base(), test.size)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyJavaJointIncrementalCompilationIntegrationTest.groovy

        }
    
        void applyGroovyFileSet(List<String> fileSet) {
            file('src/main/groovy').forceDeleteDir()
            fileSet.each {
                file("src/main/groovy/${it.replace('.changed', '').replace('.failure', '') + (it.startsWith('J') ? '.java' : '.groovy')}").text = SOURCES[it]
            }
        }
    
        void applyMixFileSet(List<String> fileSet) {
            file('src/main/groovy').forceDeleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/cmd/gofmt/gofmt.go

    		return err
    	}
    
    	fileSet := token.NewFileSet()
    	// If we are formatting stdin, we accept a program fragment in lieu of a
    	// complete source file.
    	fragmentOk := info == nil
    	file, sourceAdj, indentAdj, err := parse(fileSet, filename, src, fragmentOk)
    	if err != nil {
    		return err
    	}
    
    	if rewrite != nil {
    		if sourceAdj == nil {
    			file = rewrite(fileSet, file)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    func DeleteImport(fset *token.FileSet, f *ast.File, path string) (deleted bool) {
    	return DeleteNamedImport(fset, f, "", path)
    }
    
    // DeleteNamedImport deletes the import with the given name and path from the file f, if present.
    // If there are duplicate import declarations, all matching ones are deleted.
    func DeleteNamedImport(fset *token.FileSet, f *ast.File, name, path string) (deleted bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.stack.part.pbtxt

    # CHECK: fake/user/code/file_D.py:28:1: note: called from
    # CHECK: fake/user/code/file_E.py:29:1: note: called from
    # CHECK: fake/user/code/file_F.py:30:1: note: called from
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 27 18:59:05 UTC 2023
    - 16.4K bytes
    - Viewed (0)
Back to top