Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 138 for gretty (0.13 sec)

  1. tools/bug-report/pkg/config/config_test.go

    	got := &BugReportConfig{}
    	if err := yaml.Unmarshal([]byte(config), got); err != nil {
    		t.Fatal(err)
    	}
    
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("got:\n%s\nwant:\n%s\n\ndiff (-got, +want):\n%s\n", pretty.Sprint(got), pretty.Sprint(want), cmp.Diff(got, want))
    	}
    }
    
    func TestUnmarshalSelectionSpec(t *testing.T) {
    	include := "ns1,ns2/d1,d2/p1,p2/l1=lv1,l2=lv2/a1=av1,a2=av2/c1,c2"
    	want := &SelectionSpec{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 15 15:19:50 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/dump/dump.go

    	SpewKeys:                true,
    	DisablePointerAddresses: true,
    	DisableCapacities:       true,
    }
    
    // Pretty wrap the spew.Sdump with Indent, and disabled methods like error() and String()
    // The output may change over time, so for guaranteed output please take more direct control
    func Pretty(a interface{}) string {
    	return prettyPrintConfig.Sdump(a)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h

        return *this;
      }
    
      // Enable printing of debug information. If 'pretty_form' is set to true,
      // debug information is printed in a more readable 'pretty' form but this
      // pretty form is not parsable (so only for human readability).
      MlirDumpConfig& emit_location_information(bool pretty_form = false) {
        this->op_printing_flags.enableDebugInfo(/*enable=*/true, pretty_form);
        return *this;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 24 09:43:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. plugin/pkg/admission/storage/storageobjectinuseprotection/admission_test.go

    				t.Errorf("Test %q: got unexpected error: %v", test.name, err)
    			}
    			if !reflect.DeepEqual(test.expectedObject, obj) {
    				t.Errorf("Test %q: Expected object:\n%s\ngot:\n%s", test.name, dump.Pretty(test.expectedObject), dump.Pretty(obj))
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. hack/jenkins/benchmark-dockerized.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    set -o xtrace
    
    retry() {
      for i in {1..5}; do
        if "$@"
        then
          return 0
        else
          sleep "${i}"
        fi
      done
      "$@"
    }
    
    # The root of the build/dist directory
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
    export KUBE_ROOT
    
    # Runs benchmark integration tests, producing pretty-printed results
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. operator/cmd/mesh/profile-dump.go

    	if err != nil {
    		return "", err
    	}
    	return out2, nil
    }
    
    // Convert the generated YAML to pretty JSON.
    func yamlToPrettyJSON(yml string) (string, error) {
    	// YAML objects are not completely compatible with JSON
    	// objects. Let yaml.YAMLToJSON handle the edge cases and
    	// we'll re-encode the result to pretty JSON.
    	uglyJSON, err := yaml.YAMLToJSON([]byte(yml))
    	if err != nil {
    		return "", err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/vcstest/git/issue61415.txt

    git branch -m main
    
    git tag has-nested
    
    at 2023-11-14T13:00:01-05:00
    
    git rm -r nested
    git commit -m 'nested: delete subdirectory'
    
    git show-ref --tags --heads
    cmp stdout .git-refs
    
    git log --pretty=oneline
    cmp stdout .git-log
    
    -- .git-refs --
    f213069baa68ec26412fb373c7cf6669db1f8e69 refs/heads/main
    08a4fa6bb9c04ffba03b26ae427b0d6335d90a2a refs/tags/has-nested
    -- .git-log --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 22:15:45 UTC 2023
    - 928 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/diff/diff.go

    }
    
    // ObjectGoPrintSideBySide prints a and b as textual dumps side by side,
    // enabling easy visual scanning for mismatches.
    func ObjectGoPrintSideBySide(a, b interface{}) string {
    	sA := dump.Pretty(a)
    	sB := dump.Pretty(b)
    
    	linesA := strings.Split(sA, "\n")
    	linesB := strings.Split(sB, "\n")
    	width := 0
    	for _, s := range linesA {
    		l := len(s)
    		if l > width {
    			width = l
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 26 06:43:17 UTC 2023
    - 810 bytes
    - Viewed (0)
  10. internal/config/errors-utils.go

    package config
    
    import (
    	"errors"
    	"fmt"
    	"net"
    	"syscall"
    
    	"github.com/minio/minio/internal/color"
    )
    
    // Err is a structure which contains all information
    // to print a fatal error message in json or pretty mode
    // Err implements error so we can use it anywhere
    type Err struct {
    	msg    string
    	detail string
    	action string
    	hint   string
    }
    
    // Clone returns a new Err struct with the same information
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top