Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasBadPathComponent (1.05 sec)

  1. cmd/generic-handlers_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(b *testing.B) {
    			b.SetBytes(int64(len(tt.input)))
    			b.ReportAllocs()
    			for b.Loop() {
    				if got := hasBadPathComponent(tt.input); got != tt.want {
    					t.Fatalf("hasBadPathComponent() = %v, want %v", got, tt.want)
    				}
    			}
    		})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top