- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,058 for found (0.02 seconds)
-
docs/debugging/inspect/decrypt-v2.go
} extracted := false for { stream, err := sr.NextStream() if err != nil { if err == io.EOF { if extracted { return nil } return errors.New("no data found on stream") } if errors.Is(err, estream.ErrNoKey) { fmt.Println("Skipping", stream.Name, "no private key") if err := stream.Skip(); err != nil { return fmt.Errorf("stream skip: %w", err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 2.3K bytes - Click Count (0) -
src/buildall.bash
#!/usr/bin/env bash # Copyright 2015 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # Usage: buildall.bash [-e] [pattern] # # buildall.bash builds the standard library for all Go-supported # architectures. # # Originally the Go build system used it as a smoke test to quickly # flag portability issues in builders named "misc-compile" or "all-compile".
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Apr 23 17:45:23 GMT 2024 - 2.1K bytes - Click Count (0) -
lib/time/mkzip.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // Mkzip writes a zoneinfo.zip with the content of the current directory // and its subdirectories, with no compression, suitable for package time. // // Usage: // // go run ../../mkzip.go ../../zoneinfo.zip //
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Click Count (0) -
misc/go_android_exec/exitcode_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !(windows || js || wasip1) package main import ( "regexp" "strings" "testing" ) func TestExitCodeFilter(t *testing.T) { // Write text to the filter one character at a time. var out strings.Builder f, exitStr := newExitCodeFilter(&out)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed May 03 14:54:58 GMT 2023 - 2.1K bytes - Click Count (0) -
tests/test_tutorial/test_handling_errors/test_tutorial001.py
def test_get_item_not_found(): response = client.get("/items/bar") assert response.status_code == 404, response.text assert response.headers.get("x-error") is None assert response.json() == {"detail": "Item not found"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.2K bytes - Click Count (0) -
src/cmd/asm/internal/lex/stack.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package lex import ( "text/scanner" "cmd/internal/src" ) // A Stack is a stack of TokenReaders. As the top TokenReader hits EOF, // it resumes reading the next one down. type Stack struct { tr []TokenReader }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Jan 09 22:33:23 GMT 2017 - 1.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverFactory.java
* * @param type the type of conflict resolver to obtain * @return the conflict resolver * @throws ConflictResolverNotFoundException * if the specified type was not found */ ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/Toolchain.java
/** * Gets the platform tool executable. * * @param toolName the tool platform independent tool name. * @return file representing the tool executable, or null if the tool can not be found */ String findTool(String toolName);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 1.4K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py310/test_main.py
def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"}, json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"}, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Aug 15 22:31:16 GMT 2024 - 1.8K bytes - Click Count (0) -
docs_src/app_testing/app_b_py39/test_main.py
def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"}, json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"}, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.8K bytes - Click Count (0)