Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 662 for extract (0.32 sec)

  1. ci/official/utilities/extract_resultstore_links.py

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    
    """Extracts ResultStore links from a log containing Bazel invocations.
    
    The links and the invocations' status can then be printed out, or output in the
    form of JUnit-based XML.
    """
    import argparse
    import datetime
    import os
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. .github/workflows/extract-unit-test-split.jq

    Stefan Wolf <******@****.***> 1633938695 +0200
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Oct 11 08:08:26 GMT 2021
    - 171 bytes
    - Viewed (0)
  3. tests/test_http_connection_injection.py

    app = FastAPI()
    app.state.value = 42
    
    
    async def extract_value_from_http_connection(conn: HTTPConnection):
        return conn.app.state.value
    
    
    @app.get("/http")
    async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)):
        return value
    
    
    @app.websocket("/ws")
    async def get_value_by_ws(
        websocket: WebSocket, value: int = Depends(extract_value_from_http_connection)
    ):
        await websocket.accept()
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Aug 09 13:56:41 GMT 2020
    - 972 bytes
    - Viewed (0)
  4. ci/official/utilities/cleanup_summary.sh

    # easier to find and read.
    function resultstore_extract {
      local \
        XML_PATH="$TFCI_OUTPUT_DIR/Bazel_Test_and_Build_Results/sponge_log.xml"
    
      python3 \
        "$TFCI_GIT_DIR/ci/official/utilities/extract_resultstore_links.py" \
        "$TFCI_OUTPUT_DIR/script.log" \
        --print \
        --xml-out-path "$XML_PATH" || resultstore_extract_fallback
    }
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. bin/init.sh

        # Enter the output directory.
        mkdir -p "$(dirname "$2")"
        pushd "$(dirname "$2")"
    
        # Download and extract the binary to the output directory.
        echo "Downloading ${SIDECAR}: $1 to $2"
        time ${DOWNLOAD_COMMAND} --header "${AUTH_HEADER:-}" "$1" |\
          tar --extract --gzip --strip-components=3 --to-stdout > "$2"
        chmod +x "$2"
    
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. cmd/batch-job-common-types.go

    	line, col int
    	Key       string `yaml:"key" json:"key"`
    	Value     string `yaml:"value" json:"value"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobKV{}
    
    // UnmarshalYAML - BatchJobKV extends default unmarshal to extract line, col information.
    func (kv *BatchJobKV) UnmarshalYAML(val *yaml.Node) error {
    	type jobKV BatchJobKV
    	var tmp jobKV
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    	*kv = BatchJobKV(tmp)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. ci/official/utilities/repack_libtensorflow.sh

    # Returns:
    #   None
    function cp_normalized_srcjar() {
      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  8. cmd/handler-utils_test.go

    				"content-type": "image/png",
    			},
    			shouldFail: false,
    		},
    		// Validate if there are no keys to extract.
    		{
    			header: http.Header{
    				"Test-1": []string{"123"},
    			},
    			metadata:   map[string]string{},
    			shouldFail: false,
    		},
    		// Validate that there are all headers extracted
    		{
    			header: http.Header{
    				"X-Amz-Meta-Appid":   []string{"amz-meta"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. docs/extensions/s3zip/examples/minio-go/main.go

    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    	opts.Set("x-minio-extract", "true")
    
    	// Download API.md from the archive
    	rd, err := s3Client.GetObject(context.Background(), "your-bucket", "path/to/file.zip/data.csv", opts)
    	if err != nil {
    		log.Fatalln(err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

            return "META-INF/maven/extension.xml";
        }
    
        /**
         * Extracts the extension descriptor (if any) from the specified JAR file.
         *
         * @param extensionJar The JAR file or directory to extract the descriptor from, must not be {@code null}.
         * @return The extracted descriptor or {@code null} if no descriptor was found.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top