Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for firstDot (0.18 sec)

  1. src/cmd/go/internal/telemetrystats/version_unix.go

    	telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:%s-%s", runtime.GOOS, major, minor))
    }
    
    func majorMinor(v string) (string, string, bool) {
    	firstDot := strings.Index(v, ".")
    	if firstDot < 0 {
    		return "", "", false
    	}
    	major := v[:firstDot]
    	v = v[firstDot+len("."):]
    	endMinor := strings.IndexAny(v, ".-_")
    	if endMinor < 0 {
    		endMinor = len(v)
    	}
    	minor := v[:endMinor]
    	return major, minor, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/numberlines.go

    			v = b.Values[i]
    			if !v.Pos.SameFileAndLine(firstPos) {
    				if f.pass.debug > 0 {
    					fmt.Printf("Mark stmt new line %s %s %s %s prev pos = %s\n", f.Name, b, v, flc(v.Pos), flc(firstPos))
    				}
    				firstPos = v.Pos
    				v.Pos = v.Pos.WithIsStmt()
    			} else {
    				v.Pos = v.Pos.WithDefaultStmt()
    			}
    		}
    		if b.Pos.IsStmt() != src.PosNotStmt && !b.Pos.SameFileAndLine(firstPos) {
    			if f.pass.debug > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/build.gradle

            solution { solution ->
                solutionFile.withContent { content ->
                    def sourceControlSection = """
        GlobalSection(SolutionNotes) = postSolution
            NumNotes = 2
            Name1 = FirstNote
            Issue1 = N
            Text1 = This is a shared note.
            Name2 = SecondNote
            Issue2 = N
            Text2 = The projects in this solution are ${projects*.name}.
        EndGlobalSection
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonFeedbackIntegrationSpec.groovy

            given:
            file("build.gradle") << """
            """
    
            when:
            executer.withArguments("-q").run()
    
            then:
            def log = firstLog(executer.daemonBaseDir)
            assertLogIsOnlyVisibleToOwner(log)
        }
    
        void assertLogIsOnlyVisibleToOwner(File logFile) {
            assert new TestFile(logFile).permissions == "rw-------"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top