- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 735 for Sprintf (0.09 sec)
-
istioctl/pkg/writer/pilot/status_test.go
) func TestXdsStatusWriter_PrintAll(t *testing.T) { tests := []struct { name string input map[string]*discovery.DiscoveryResponse want string wantErr bool }{ { name: "prints multiple istiod inputs to buffer in alphabetical order by pod name", input: map[string]*discovery.DiscoveryResponse{ "istiod1": xdsResponseInput("istiod1", []clientConfigInput{ { proxyID: "proxy1",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 6.5K bytes - Viewed (0) -
docs_src/python_types/tutorial008b.py
from typing import Union def process_item(item: Union[int, str]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 84 bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
fi "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)' "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)' fi # Import tf nightly wheel built with numpy2 from PyPI in numpy1 env for testing.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 21:18:17 UTC 2024 - 4.3K bytes - Viewed (0) -
docs_src/python_types/tutorial002.py
def get_full_name(first_name: str, last_name: str): full_name = first_name.title() + " " + last_name.title() return full_name
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 172 bytes - Viewed (0) -
Makefile.core.mk
# Place the variable Q in front of a command to control echoing of the command being executed. Q = $(if $(filter 1,$VERBOSE),,@) # Use the variable H to add a header (equivalent to =>) to informational output H = $(shell printf "\033[34;1m=>\033[0m") ifeq ($(origin DEBUG), undefined) BUILDTYPE_DIR:=release else ifeq ($(DEBUG),0) BUILDTYPE_DIR:=release else BUILDTYPE_DIR:=debug export GCFLAGS:=all=-N -l
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 03 23:53:59 UTC 2024 - 18.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateDefaultImports.java
try (PrintWriter writer = new PrintWriter(new FileWriter(getImportsDestFile().getAsFile().get()))) { for (String packageName : packages) { writer.print("import "); writer.print(packageName); writer.println(".*"); } } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.3K bytes - Viewed (0) -
lib/time/update.bash
# # That will prepare the files and create the commit. # # To review such a commit (as the reviewer), use: # # git codereview change NNNNNN # CL number # cd lib/time # ./update.bash # # If it prints "No updates needed.", then the generated files # in the CL match the update.bash in the CL. # Versions to use. CODE=2024b DATA=2024b set -e cd $(dirname $0) rm -rf work mkdir work
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:25:08 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/sts/web-identity.py
'code': authorization_code, 'redirect_uri': callback_uri} id_token_response = requests.post( token_url, data=data, verify=False, allow_redirects=False, auth=(client_id, client_secret)) print('body: ' + id_token_response.text) # we can now use the id_token as much as we want to access protected resources. tokens = json.loads(id_token_response.text) id_token = tokens['id_token']
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
value := "1" i := strings.IndexRune(name, '=') if i > 0 { name, value = name[:i], name[i+1:] } tokens := Tokenize(name) if len(tokens) != 1 || tokens[0].ScanToken != scanner.Ident { fmt.Fprintf(os.Stderr, "asm: parsing -D: %q is not a valid identifier name\n", tokens[0]) flags.Usage() } macros[name] = &Macro{ name: name, args: nil, tokens: Tokenize(value), } } return macros
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial008c.py
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun": raise InternalError(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 660 bytes - Viewed (0)