Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isBuilder (0.13 sec)

  1. src/cmd/go/internal/work/exec.go

    	}
    
    	if argLen > sys.ExecArgLengthLimit {
    		return true
    	}
    
    	// On the Go build system, use response files about 10% of the
    	// time, just to exercise this codepath.
    	isBuilder := os.Getenv("GO_BUILDER_NAME") != ""
    	if isBuilder && rand.Intn(10) == 0 {
    		return true
    	}
    
    	return false
    }
    
    // encodeArg encodes an argument for response file writing.
    func encodeArg(arg string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  2. pkg/registry/flowcontrol/ensurer/flowschema_test.go

    				MatchingPrecedence: matchingPrecedence,
    			},
    		},
    	}
    }
    
    func (b *fsBuilder) Object() *flowcontrolv1.FlowSchema {
    	return b.object
    }
    
    func (b *fsBuilder) WithGeneration(value int64) *fsBuilder {
    	b.object.SetGeneration(value)
    	return b
    }
    
    func (b *fsBuilder) WithAutoUpdateAnnotation(value string) *fsBuilder {
    	setAnnotation(b.object, value)
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/build.gradle

            Issue2 = N
            Text2 = The projects in this solution are ${projects*.name}.
        EndGlobalSection
    """
                    def insertPos = content.text.lastIndexOf("EndGlobal")
                    content.asBuilder().insert(insertPos, sourceControlSection)
                }
            }
        }
    }
    // end::customize-solution-files[]
    
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
    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/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioSolutionFile.groovy

            baseText = inputStream.text
        }
    
        @Override
        void store(OutputStream outputStream) {
            def provider = new SimpleTextProvider()
            generateContent(provider.asBuilder())
            actions.each {
                it.execute(provider)
            }
            outputStream << TextUtil.convertLineSeparators(provider.getText(), TextUtil.getWindowsLineSeparator())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/TextProvider.java

        /**
         * Replace the content.
         */
        void setText(String value);
    
        /**
         * Get the content as a {@link StringBuilder}, permitting direct modification.
         */
        StringBuilder asBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/VisualStudioSolution.java

     *
     *  model {
     *      visualStudio {
     *          solution {
     *              solutionFile.location = "vs/${name}.sln"
     *              solutionFile.withContent { TextProvider content -&gt;
     *                  content.asBuilder().insert(0, "# GENERATED FILE: DO NOT EDIT\n")
     *                  content.text = content.text.replaceAll("HideSolutionNode = FALSE", "HideSolutionNode = TRUE")
     *              }
     *          }
     *      }
     *  }
     * </pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

                }
                Site.Builder sbuilder = Site.newBuilder(tgt);
                if (sourceDominant || tgt == null || isSiteEmpty(tgt)) {
                    mergeSite(sbuilder, tgt, src, sourceDominant, context);
                }
                super.mergeSite_ChildSiteUrlInheritAppendPath(sbuilder, tgt, src, sourceDominant, context);
                builder.site(sbuilder.build());
            }
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioSolutionFileTest.groovy

            when:
            solutionFile.actions << ({ TextProvider text ->
                text.setText("foo")
            } as Action)
            solutionFile.actions << ({ TextProvider text ->
                text.asBuilder().append("bar")
            } as Action)
    
            then:
            generatedSolutionFile.text == "foobar"
        }
    
        def "can get and set text with actions"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top