- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 994 for Structs (0.1 sec)
-
src/cmd/api/testdata/src/pkg/p4/golden.txt
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jan 26 19:39:32 UTC 2024 - 329 bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs_test.go
"time" ) func TestParseAndDisplaySQLTimestamp(t *testing.T) { beijing := time.FixedZone("", int((8 * time.Hour).Seconds())) fakeLosAngeles := time.FixedZone("", -int((8 * time.Hour).Seconds())) cases := []struct { s string t time.Time }{ {"2010T", time.Date(2010, 1, 1, 0, 0, 0, 0, time.UTC)}, {"2010-02T", time.Date(2010, 2, 1, 0, 0, 0, 0, time.UTC)}, {"2010-02-03T", time.Date(2010, 2, 3, 0, 0, 0, 0, time.UTC)},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.2K bytes - Viewed (0) -
src/archive/zip/example_test.go
) func ExampleWriter() { // Create a buffer to write our archive to. buf := new(bytes.Buffer) // Create a new zip archive. w := zip.NewWriter(buf) // Add some files to the archive. var files = []struct { Name, Body string }{ {"readme.txt", "This archive contains some text files."}, {"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"}, {"todo.txt", "Get animal handling licence.\nWrite more examples."}, }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
cmd/os-readdir-common.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd // Options for readDir function call type readDirOpts struct { // The maximum number of entries to return count int // Follow directory symlink followDirSymlink bool } // Return all the entries at the directory dirPath.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 09 23:20:51 UTC 2021 - 1.3K bytes - Viewed (0) -
cni/pkg/plugin/plugin_cni_conformance.go
// limitations under the License. package plugin import ( "testing" "github.com/containernetworking/cni/pkg/types" ) // Validate k8sArgs struct works for unmarshalling kubelet args // This is important for CNI plugin conformance func TestLoadArgs(t *testing.T) { kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed May 29 21:50:09 UTC 2024 - 1.5K bytes - Viewed (0) -
internal/grid/connection.go
resp(mid.closed) mid.respMu.Unlock() case debugBlockInboundMessages: c.connMu.Lock() block := (<-chan struct{})(args[0].(chan struct{})) c.blockMessages.Store(&block) c.connMu.Unlock() } } // wsWriter writes websocket messages. type wsWriter struct { tmp [ws.MaxHeaderSize]byte } // writeMessage writes a message to w without allocations.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
internal/http/request-recorder.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package http import ( "bytes" "io" ) // RequestRecorder - records the // of a given io.Reader type RequestRecorder struct { // Data source to record io.Reader // Response body should be logged LogBody bool // internal recording buffer buf bytes.Buffer // total bytes read including header size bytesRead int }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 12 21:37:19 UTC 2023 - 1.8K bytes - Viewed (0) -
internal/event/arn.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "encoding/xml" "strings" ) // ARN - SQS resource name representation. type ARN struct { TargetID region string } // String - returns string representation. func (arn ARN) String() string { if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" { return "" }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
// limitations under the License. package testutil import ( "bytes" "regexp" "strings" "testing" "github.com/spf13/cobra" "istio.io/istio/pilot/test/util" ) type TestCase struct { Args []string // Typically use one of the three ExpectedOutput string // Expected constant output ExpectedRegexp *regexp.Regexp // Expected regexp output
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2K bytes - Viewed (0) -
docs/iam/identity-manager-plugin.go
) func writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusBadRequest) json.NewEncoder(w).Encode(map[string]string{ "reason": fmt.Sprintf("%v", err), }) } type Resp struct { User string `json:"user"` MaxValiditySeconds int `json:"maxValiditySeconds"` Claims map[string]interface{} `json:"claims"` }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 2.1K bytes - Viewed (0)