Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 305 for cutExt (0.13 sec)

  1. src/cmd/go/internal/toolchain/path_windows.go

    	pathExts.once.Do(initPathExts)
    	name, _, ok := cutExt(de.Name(), pathExts.list)
    	if !ok {
    		return "", false
    	}
    	v := gover.FromToolchain(name)
    	if v == "" {
    		return "", false
    	}
    	return v, true
    }
    
    // cutExt looks for any of the known extensions at the end of file.
    // If one is found, cutExt returns the file name with the extension trimmed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/plist.go

    	for _, s := range text {
    		mkfwd(s)
    		if ctxt.Arch.ErrorCheck != nil {
    			ctxt.Arch.ErrorCheck(ctxt, s)
    		}
    		linkpatch(ctxt, s, newprog)
    		ctxt.Arch.Preprocess(ctxt, s, newprog)
    		ctxt.Arch.Assemble(ctxt, s, newprog)
    		if ctxt.Errors > 0 {
    			continue
    		}
    		linkpcln(ctxt, s)
    		ctxt.populateDWARF(plist.Curfn, s)
    		if ctxt.Headtype == objabi.Hwindows && ctxt.Arch.SEH != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. internal/mcontext/ctxt.go

    Anis Elleuch <******@****.***> 1670347646 +0100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 06 17:27:26 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

        }
    
        /**
         * @param extension
         * @return
         */
        private String getOutputExtension(final String extension) {
            final String outExt = extensionMap.get(extension);
            return outExt == null ? "txt" : outExt;
        }
    
        private String getFileName(final String resourceName) {
            final String name = resourceName.replaceAll("/+$", "");
            final int pos = name.lastIndexOf('/');
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy

                    outputs.cacheIf { true }
                    def outTxt = file("build/first.txt")
                    outputs.file(outTxt)
                    doLast {
                        outTxt.text = "Done"
                    }
                }
    
                task secondTask {
                    dependsOn firstTask
                    outputs.cacheIf { true }
                    def outTxt = file("build/second.txt")
                    outputs.file(outTxt)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/strings/strings.go

    }
    
    // TrimLeft returns a slice of the string s with all leading
    // Unicode code points contained in cutset removed.
    //
    // To remove a prefix, use [TrimPrefix] instead.
    func TrimLeft(s, cutset string) string {
    	if s == "" || cutset == "" {
    		return s
    	}
    	if len(cutset) == 1 && cutset[0] < utf8.RuneSelf {
    		return trimLeftByte(s, cutset[0])
    	}
    	if as, ok := makeASCIISet(cutset); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    		return gover{}
    	}
    	v.kind, x = x[:i], x[i:]
    	if x == "" {
    		return v
    	}
    	v.pre, x, ok = cutInt(x)
    	if !ok || x != "" {
    		return gover{}
    	}
    
    	return v
    }
    
    // cutInt scans the leading decimal number at the start of x to an integer
    // and returns that value and the rest of the string.
    func cutInt(x string) (n, rest string, ok bool) {
    	i := 0
    	for i < len(x) && '0' <= x[i] && x[i] <= '9' {
    		i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/internal/gover/gover.go

    	}
    	v.Kind, x = x[:i], x[i:]
    	if x == "" {
    		return v
    	}
    	v.Pre, x, ok = cutInt(x)
    	if !ok || x != "" {
    		return Version{}
    	}
    
    	return v
    }
    
    // cutInt scans the leading decimal number at the start of x to an integer
    // and returns that value and the rest of the string.
    func cutInt(x string) (n, rest string, ok bool) {
    	i := 0
    	for i < len(x) && '0' <= x[i] && x[i] <= '9' {
    		i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/internal/diff/diff.go

    			for _, s := range ctext {
    				out.WriteString(s)
    			}
    			count.x = 0
    			count.y = 0
    			ctext = ctext[:0]
    		}
    
    		// If we reached EOF, we're done.
    		if end.x >= len(x) && end.y >= len(y) {
    			break
    		}
    
    		// Otherwise start a new chunk.
    		chunk = pair{end.x - C, end.y - C}
    		for _, s := range x[chunk.x:end.x] {
    			ctext = append(ctext, " "+s)
    			count.x++
    			count.y++
    		}
    		done = end
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 14:13:04 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/ppc64/obj9.go

    			f := c.cursym.Func()
    			if f.FuncFlag&abi.FuncFlagSPWrite == 0 {
    				c.cursym.Func().FuncFlag |= abi.FuncFlagSPWrite
    				if ctxt.Debugvlog || !ctxt.IsAsm {
    					ctxt.Logf("auto-SPWRITE: %s %v\n", c.cursym.Name, p)
    					if !ctxt.IsAsm {
    						ctxt.Diag("invalid auto-SPWRITE in non-assembly")
    						ctxt.DiagFlush()
    						log.Fatalf("bad SPWRITE")
    					}
    				}
    			}
    		}
    	}
    }
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top