Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for repl (0.18 sec)

  1. src/cmd/go/internal/modload/load.go

    			return "", false
    		}
    		var root string
    		var err error
    		if repl := Replacement(m); repl.Path != "" && repl.Version == "" {
    			root = repl.Path
    			if !filepath.IsAbs(root) {
    				root = filepath.Join(replaceRelativeTo(), root)
    			}
    		} else if repl.Path != "" {
    			root, err = modfetch.DownloadDir(ctx, repl)
    		} else {
    			root, err = modfetch.DownloadDir(ctx, m)
    		}
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    // Otherwise, repr is used unprocessed as the type representation.
    func (tr *TypeRepr) Set(repr string, fargs ...interface{}) {
    	tr.Repr = repr
    	tr.FormatArgs = fargs
    }
    
    // FinishType completes any outstanding type mapping work.
    // In particular, it resolves incomplete pointer types.
    func (c *typeConv) FinishType(pos token.Pos) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    }
    
    func TestToValidUTF8(t *testing.T) {
    	for _, tc := range toValidUTF8Tests {
    		got := ToValidUTF8([]byte(tc.in), []byte(tc.repl))
    		if !Equal(got, []byte(tc.out)) {
    			t.Errorf("ToValidUTF8(%q, %q) = %q; want %q", tc.in, tc.repl, got, tc.out)
    		}
    	}
    }
    
    func TestTrimSpace(t *testing.T) { runStringTests(t, TrimSpace, "TrimSpace", trimSpaceTests) }
    
    type RepeatTest struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    	tg.grepStdout(`^bytes$`, "missing real bytes")
    	tg.grepStdout(`^bytes \[bytes.test\]$`, "missing test copy of bytes")
    	tg.grepStdout(`^testing \[bytes.test\]$`, "missing test copy of testing")
    	tg.grepStdoutNot(`^testing$`, "unexpected real copy of testing")
    
    	tg.run("list", "-test", "bytes")
    	tg.grepStdout(`^bytes.test$`, "missing test main")
    	tg.grepStdout(`^bytes$`, "missing real bytes")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            ArtifactRepository repo = MavenRepositorySystem.buildArtifactRepository(
                                    new org.apache.maven.model.DeploymentRepository(r));
                            repositorySystem.injectProxy(request.getRepositorySession(), List.of(repo));
                            repositorySystem.injectAuthentication(request.getRepositorySession(), List.of(repo));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    () -> buildPom("unique-repo-id/artifact-repo"),
                    "Non-unique repository ids did not cause validation error");
        }
    
        /* MNG-4193 */
        @Test
        void testValidationErrorUponNonUniquePluginRepositoryId() throws Exception {
            assertThrows(
                    ProjectBuildingException.class,
                    () -> buildPom("unique-repo-id/plugin-repo"),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/init.go

    	}
    	if dir, name := findAltConfig(base.Cwd()); dir != "" {
    		rel, err := filepath.Rel(base.Cwd(), dir)
    		if err != nil {
    			rel = dir
    		}
    		cdCmd := ""
    		if rel != "." {
    			cdCmd = fmt.Sprintf("cd %s && ", rel)
    		}
    		base.Fatalf("go: cannot find main module, but found %s in %s\n\tto create a module there, run:\n\t%sgo mod init", name, dir, cdCmd)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  8. src/cmd/dist/build.go

    	// deleted by the clean command.
    	path = pathf("%s/VERSION.cache", goroot)
    	if isfile(path) {
    		return chomp(readfile(path))
    	}
    
    	// Show a nicer error message if this isn't a Git repo.
    	if !isGitRepo() {
    		fatalf("FAILED: not a Git repo; must put a VERSION file in $GOROOT")
    	}
    
    	// Otherwise, use Git.
    	//
    	// Include 1.x base version, hash, and date in the version.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/debug.go

    		// Now examine the block again, handling things other than the
    		// "begins at block start" lifetimes.
    		zeroWidthPending := false
    		prologComplete := false
    		// expect to see values in pattern (apc)* (zerowidth|real)*
    		for _, v := range b.Values {
    			if blockPrologComplete(v) {
    				prologComplete = true
    			}
    			slots := state.valueNames[v.ID]
    			reg, _ := state.f.getHome(v.ID).(*Register)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/out.go

    			fn(i, "", r.Type)
    			i++
    		} else {
    			for _, n := range r.Names {
    				fn(i, n.Name, r.Type)
    				i++
    			}
    		}
    	}
    }
    
    func c(repr string, args ...interface{}) *TypeRepr {
    	return &TypeRepr{repr, args}
    }
    
    // Map predeclared Go types to Type.
    var goTypes = map[string]*Type{
    	"bool":       {Size: 1, Align: 1, C: c("GoUint8")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top