Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for fmtE (0.05 sec)

  1. src/reflect/all_test.go

    	var buf strings.Builder
    	fmt.Fprintf(&buf, "\nselect {\n")
    	for i, cas := range info {
    		fmt.Fprintf(&buf, "%d: %s", i, cas.desc)
    		if cas.recv.IsValid() {
    			fmt.Fprintf(&buf, " val=%#v", cas.recv.Interface())
    		}
    		if cas.canSelect {
    			fmt.Fprintf(&buf, " canselect")
    		}
    		if cas.panic {
    			fmt.Fprintf(&buf, " panic")
    		}
    		fmt.Fprintf(&buf, "\n")
    	}
    	fmt.Fprintf(&buf, "}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	// Content for the object to be uploaded.
    	buffer := bytes.NewReader([]byte("hello world"))
    	// make long object name.
    	longObjName := fmt.Sprintf("%0255d/%0255d/%0255d", 1, 1, 1)
    	if IsDocker() || IsKubernetes() {
    		longObjName = fmt.Sprintf("%0242d/%0242d/%0242d", 1, 1, 1)
    	}
    	// create new HTTP request to insert the object.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  3. src/net/http/server.go

    				// so as to mitigate the risk of cross side scripting by an attacker.
    				fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s%sUnsupported transfer encoding", code, StatusText(code), errorHeaders)
    				return
    
    			case isCommonNetReadError(err):
    				return // don't reply
    
    			default:
    				if v, ok := err.(statusError); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/data.go

    			if r.Weak() {
    				continue
    			}
    			return fmt.Errorf("dynamic relocation to unreachable symbol %s",
    				ctxt.loader.SymName(targ))
    		}
    		tgot := ctxt.loader.SymGot(targ)
    		if tgot == loadpe.RedirectToDynImportGotToken {
    
    			// Consistency check: name should be __imp_X
    			sname := ctxt.loader.SymName(targ)
    			if !strings.HasPrefix(sname, "__imp_") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  5. pkg/api/pod/util_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pod
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier_test.go

    	if f.ipvsErr == "AddVirtualServer" {
    		return fmt.Errorf("oops")
    	}
    	f.vsCreated = true
    	return nil
    }
    func (f *fakeIpvs) UpdateVirtualServer(*utilipvs.VirtualServer) error {
    	return nil
    }
    func (f *fakeIpvs) DeleteVirtualServer(*utilipvs.VirtualServer) error {
    	if f.ipvsErr == "DeleteVirtualServer" {
    		return fmt.Errorf("oops")
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				ValsEqualThemselvesAndDataLiteral("self.val1", "self.val2", fmt.Sprintf("%d", math.MaxInt64)),
    				ValsEqualThemselvesAndDataLiteral("self.val3", "self.val4", fmt.Sprintf("%d", math.MaxInt32)),
    				ValsEqualThemselvesAndDataLiteral("self.val5", "self.val6", fmt.Sprintf("%d", math.MaxInt64)),
    				"self.val1 == self.val6", // integer with no format is the same as int64
    				"type(self.val1) == int",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package endpoints
    
    import (
    	"bytes"
    	"compress/gzip"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"io/ioutil"
    	"math/rand"
    	"net/http"
    	"net/http/httptest"
    	"net/http/httputil"
    	"net/url"
    	"reflect"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  9. src/cmd/go/alldocs.go

    // different sets of packages. If a package matches patterns given in
    // multiple flags, the latest match on the command line wins.
    // For example, 'go build -gcflags=-S fmt' prints the disassembly
    // only for package fmt, while 'go build -gcflags=all=-S fmt'
    // prints the disassembly for fmt and all its dependencies.
    //
    // For more about specifying packages, see 'go help packages'.
    // For more about where packages and binaries are installed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  10. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    				},
    			}
    		}
    		return nodes
    	}
    	makePods := func() []v1.Pod {
    		pods := make([]v1.Pod, numNodes*podsPerNode)
    		for i := 0; i < numNodes*podsPerNode; i++ {
    			pods[i] = *testutil.NewPod(fmt.Sprintf("pod%d", i), fmt.Sprintf("node%d", i%numNodes))
    		}
    		return pods
    	}
    
    	table := []struct {
    		workers int
    	}{
    		{workers: 0}, // will default to scheduler.UpdateWorkerSize
    		{workers: 1},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
Back to top