Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for content_es (0.09 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    	}
    	s.Insert("c")
    	if s.Has("d") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	if !s.Has("a") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s.Delete("a")
    	if s.Has("a") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	s.Insert("a")
    	if s.HasAll("a", "b", "d") {
    		t.Errorf("Unexpected contents: %#v", s)
    	}
    	if !s.HasAll("a", "b") {
    		t.Errorf("Missing contents: %#v", s)
    	}
    	s2.Insert("a", "b", "d")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/copycerts/copycerts_test.go

    			t.Fatalf("error reading certificate from disk: %v", err)
    		}
    		// Check that the encrypted contents on the secret match the contents on disk, and that all
    		// the expected certificates are in the secret
    		if string(secretCertData) != string(diskCertData) {
    			t.Fatalf("cert %s does not have the expected contents. contents: %q; expected contents: %q", certName, string(secretCertData), string(diskCertData))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. cmd/prune-junit-xml/prunexml.go

    				}
    			}
    			if testcase.Failure != nil {
    				if len(testcase.Failure.Contents) > maxBytes {
    					fmt.Printf("clipping failure message in test case : %s\n", testcase.Name)
    					head := testcase.Failure.Contents[:maxBytes/2]
    					tail := testcase.Failure.Contents[len(testcase.Failure.Contents)-maxBytes/2:]
    					testcase.Failure.Contents = head + "[...clipped...]" + tail
    				}
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 12:26:00 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. pkg/proxy/util/linebuffer.go

    	// WriteBytes writes bytes to the buffer, and terminates with newline.
    	WriteBytes(bytes []byte)
    
    	// Reset clears the buffer
    	Reset()
    
    	// Bytes returns the contents of the buffer as a []byte
    	Bytes() []byte
    
    	// String returns the contents of the buffer as a string
    	String() string
    
    	// Lines returns the number of lines in the buffer. Note that more precisely, this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/escaping.go

    		contents := s[2 : len(s)-2]
    		switch contents {
    		case "underscores":
    			return "__"
    		case "dot":
    			return "."
    		case "dash":
    			return "-"
    		case "slash":
    			return "/"
    		}
    		if celReservedSymbols.Has(contents) {
    			if len(s) != len(escaped) {
    				ok = false
    			}
    			return contents
    		}
    		ok = false
    		return ""
    	})
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/upgrade/diff_test.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/util/output"
    )
    
    func createTestRunDiffFile(contents []byte) (string, error) {
    	file, err := os.CreateTemp("", "kubeadm-upgrade-diff-config-*.yaml")
    	if err != nil {
    		return "", errors.Wrap(err, "failed to create temporary test file")
    	}
    	if _, err := file.Write(contents); err != nil {
    		return "", errors.Wrap(err, "failed to write to temporary test file")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 04:08:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/rest/streamer.go

    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apiserver/pkg/registry/rest"
    )
    
    type CounterMetric interface {
    	Inc()
    }
    
    // LocationStreamer is a resource that streams the contents of a particular
    // location URL.
    type LocationStreamer struct {
    	Location        *url.URL
    	Transport       http.RoundTripper
    	ContentType     string
    	Flush           bool
    	ResponseChecker HttpResponseChecker
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 16:43:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. hack/verify-vendor.sh

      else
        echo "Removing ${_tmpdir}"
        rm -rf "${_tmpdir}"
      fi
    }
    kube::util::trap_add cleanup EXIT
    
    # Copy the contents of the kube directory into the nice clean place (which is NOT shaped like a GOPATH)
    _kubetmp="${_tmpdir}/kubernetes"
    mkdir -p "${_kubetmp}"
    tar --exclude=.git --exclude="./_*" -c . | (cd "${_kubetmp}" && tar xf -)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/sets/int32.go

    func (s1 Int32) Equal(s2 Int32) bool {
    	return cast(s1).Equal(cast(s2))
    }
    
    // List returns the contents as a sorted int32 slice.
    func (s Int32) List() []int32 {
    	return List(cast(s))
    }
    
    // UnsortedList returns the slice with contents in random order.
    func (s Int32) UnsortedList() []int32 {
    	return cast(s).UnsortedList()
    }
    
    // PopAny returns a single element from the set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream.go

    	protocols        map[string]ReaderProtocolConfig
    	selectedProtocol string
    
    	handleCrash func(additionalHandlers ...func(interface{})) // overridable for testing
    }
    
    // NewReader creates a WebSocket pipe that will copy the contents of r to a provided
    // WebSocket connection. If ping is true, a zero length message will be sent to the client
    // before the stream begins reading.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top