Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 383 for gretty (0.17 sec)

  1. pilot/pkg/networking/core/route/retry/retry.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package retry
    
    import (
    	"net/http"
    	"strconv"
    	"strings"
    
    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	previouspriorities "github.com/envoyproxy/go-control-plane/envoy/extensions/retry/priority/previous_priorities/v3"
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go

    // EnablePretty enables including a pretty serializer along with the non-pretty one
    func EnablePretty(options *CodecFactoryOptions) {
    	options.Pretty = true
    }
    
    // DisablePretty disables including a pretty serializer along with the non-pretty one
    func DisablePretty(options *CodecFactoryOptions) {
    	options.Pretty = false
    }
    
    // EnableStrict enables configuring all serializers in strict mode
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  3. pkg/controller/bootstrap/common_test.go

    	for i, a := range actual {
    		if len(expected) < i+1 {
    			t.Errorf("%d unexpected actions: %s", len(actual)-len(expected), dump.Pretty(actual[i:]))
    			break
    		}
    
    		e := expected[i]
    		if !helper.Semantic.DeepEqual(e, a) {
    			t.Errorf("Expected\n\t%s\ngot\n\t%s", dump.Pretty(e), dump.Pretty(a))
    			continue
    		}
    	}
    
    	if len(expected) > len(actual) {
    		t.Errorf("%d additional expected actions", len(expected)-len(actual))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. internal/logger/console.go

    	ExitFunc(1)
    }
    
    func (f fatalMsg) quiet(msg string, args ...interface{}) {
    	f.pretty(msg, args...)
    }
    
    var (
    	logTag      = "ERROR"
    	logBanner   = color.BgRed(color.FgWhite(color.Bold(logTag))) + " "
    	emptyBanner = color.BgRed(strings.Repeat(" ", len(logTag))) + " "
    	bannerWidth = len(logTag) + 1
    )
    
    func (f fatalMsg) pretty(msg string, args ...interface{}) {
    	// Build the passed error message
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. docs/en/docs/history-design-future.md

    Many developers and teams already depend on **FastAPI** for their projects (including me and my team).
    
    But still, there are many improvements and features to come.
    
    **FastAPI** has a great future ahead.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/runtime/runtime-gdb.py

    # license that can be found in the LICENSE file.
    
    """GDB Pretty printers and convenience functions for Go's runtime structures.
    
    This script is loaded by GDB when it finds a .debug_gdb_scripts
    section in the compiled binary. The [68]l linkers emit this with a
    path to this file based on the path to the runtime package.
    """
    
    # Known issues:
    #    - pretty printing only works for the 'native' strings. E.g. 'type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy

        }
    
        @Test
        @DisplayName("pretty pretty_test")
        public void ugly_test() {
        }
    
        @ParameterizedTest
        @CsvSource({"10, 'first'", "20, 'second'"})
        public void parametrized_test(int value, String name) {
            System.out.println(name + " " + value);
        }
    
        @ParameterizedTest
        @DisplayName("pretty parametrized test")
        @CsvSource({"30, 'third'", "40, 'fourth'"})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    		t.Errorf("%s", dump.Pretty(original))
    		t.Errorf("%s", dump.Pretty(object))
    		return
    	}
    
    	// encode (serialize) the deep copy using the provided codec
    	data, err := runtime.Encode(codec, object)
    	if err != nil {
    		if runtime.IsNotRegisteredError(err) {
    			t.Logf("%v: not registered: %v (%s)", name, err, dump.Pretty(object))
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
Back to top