Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,382 for BHelper (0.22 sec)

  1. pkg/test/util/file/file.go

    	}
    	return res, nil
    }
    
    func ReadDirOrFail(t test.Failer, filePath string, extensions ...string) []string {
    	t.Helper()
    	res, err := ReadDir(filePath, extensions...)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return res
    }
    
    func WriteOrFail(t test.Failer, filePath string, contents []byte) {
    	t.Helper()
    	err := os.WriteFile(filePath, contents, os.ModePerm)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. pilot/test/util/diff.go

    func CompareContent(t test.Failer, content []byte, goldenFile string) {
    	t.Helper()
    	golden := ReadGoldenFile(t, content, goldenFile)
    	CompareBytes(t, content, golden, goldenFile)
    }
    
    // ReadGoldenFile reads the content of the golden file and fails the test if an error is encountered
    func ReadGoldenFile(t test.Failer, content []byte, goldenFile string) []byte {
    	t.Helper()
    	RefreshGoldenFile(t, content, goldenFile)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 05 08:53:20 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/scorer.go

    // buildScorerFunction builds volumeCapacityScorer from the scoring function shape.
    func buildScorerFunction(scoringFunctionShape helper.FunctionShape) volumeCapacityScorer {
    	rawScoringFunction := helper.BuildBrokenLinearFunction(scoringFunctionShape)
    	f := func(requested, capacity int64) int64 {
    		if capacity == 0 || requested > capacity {
    			return rawScoringFunction(maxUtilization)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 13 11:08:45 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. src/mdo/model-v3.vm

            }
          #end
        }
    
          #if ( $field.type == "java.util.List" && $field.multiplicity == "*" )
            #set ( $v = $Helper.singular( ${field.name} ) )
            #set ( $scap = $Helper.capitalise( $v ) )
        public void add${scap}(${field.to} ${v}) {
            #if ( $field.to == "String" )
            update(getDelegate().with${cap}(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 06 19:04:44 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/util/internal/AntUtil.java

         */
        public static Project createProject() {
            final Project project = new Project();
    
            final ProjectHelper helper = ProjectHelper.getProjectHelper();
            project.addReference(MagicNames.REFID_PROJECT_HELPER, helper);
            helper.getImportStack().addElement("AntBuilder"); // import checks that stack is not empty
    
            project.addBuildListener(new AntLoggingAdapter());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:48 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

    import org.codelibs.fess.helper.LabelTypeHelper;
    import org.codelibs.fess.helper.OsddHelper;
    import org.codelibs.fess.helper.PopularWordHelper;
    import org.codelibs.fess.helper.QueryHelper;
    import org.codelibs.fess.helper.RoleQueryHelper;
    import org.codelibs.fess.helper.SearchHelper;
    import org.codelibs.fess.helper.UserInfoHelper;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/internal/coverage/slicewriter/slw_test.go

    	sleq := func(t *testing.T, got []byte, want []byte) {
    		t.Helper()
    		if len(got) != len(want) {
    			t.Fatalf("bad length got %d want %d", len(got), len(want))
    		}
    		for i := range got {
    			if got[i] != want[i] {
    				t.Fatalf("bad read at %d got %d want %d", i, got[i], want[i])
    			}
    		}
    	}
    
    	wf := func(t *testing.T, ws *WriteSeeker, p []byte) {
    		t.Helper()
    		nw, werr := ws.Write(p)
    		if werr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 26 12:44:26 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/mdo/reader.vm

      #foreach ( $field in $allFields )
        #if ( ! $Helper.xmlFieldMetadata( $field ).attribute && ! $Helper.xmlFieldMetadata( $field ).transient )
          #set ( $fieldTagName = $Helper.xmlFieldMetadata( $field ).tagName )
          #if ( ! $fieldTagName )
            #set ( $fieldTagName = $field.name )
          #end
          #if ( $Helper.isFlatItems( $field ) )
            #set ( $fieldTagName = $Helper.singular( $fieldTagName ) )
          #end
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:33:11 UTC 2023
    - 42.1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/util/fuzz_test.go

    )
    
    func FuzzShallowCopyTrafficPolicy(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		r := fuzz.Struct[*networking.TrafficPolicy](fg)
    		copied := ShallowCopyTrafficPolicy(r)
    		assert.Equal(fg.T(), r, copied)
    	})
    }
    
    func FuzzShallowCopyPortTrafficPolicy(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		r := fuzz.Struct[*networking.TrafficPolicy_PortTrafficPolicy](fg)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 20:32:49 UTC 2024
    - 1.8K bytes
    - Viewed (1)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIsolationIntegrationTest.groovy

                rootProject.name = "root"
                include("a", "b")
    
                object Helper {
                    fun printInfo(p: Project) {
                        println("project name = " + p.name)
                    }
                }
    
                gradle.lifecycle.beforeProject {
                    Helper.printInfo(project)
                }
            """
    
            when:
            succeeds("help")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top