Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1451 - 1460 of 3,772 for file2 (0.02 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager".
    
    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

                param(Params.sourceRoots),
                param(Params.sourceCompilationClasspath)
            )
        }
    
        @Suppress("unchecked_cast")
        private
        fun param(name: String): List<File> =
            (params[name] as? Set<String>)?.map(::File) ?: emptyList()
    }
    
    
    class BinaryCompatibilityRepositoryPostProcessRule : PostProcessViolationsRule {
        @Suppress("unchecked_cast")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. internal/logger/logger.go

    	var trace []string
    	pc, file, lineNumber, ok := runtime.Caller(traceLevel)
    
    	for ok && file != "" {
    		// Clean up the common prefixes
    		file = trimTrace(file)
    		// Get the function name
    		_, funcName := filepath.Split(runtime.FuncForPC(pc).Name())
    		// Skip duplicate traces that start with file name, "<autogenerated>"
    		// and also skip traces with function name that starts with "runtime."
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. helm/minio/values.yaml

    drivesPerNode: 1
    # Number of MinIO containers running
    replicas: 16
    # Number of expanded MinIO clusters
    pools: 1
    
    ## TLS Settings for MinIO
    tls:
      enabled: false
      ## Create a secret with private.key and public.crt files and pass that here. Ref: https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret
      certSecret: ""
      publicCrt: public.crt
      privateKey: private.key
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (1)
  7. cmd/bitrot-whole.go

    }
    
    func (b *wholeBitrotWriter) Close() error {
    	return nil
    }
    
    // Returns whole-file bitrot writer.
    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerTest.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. cmd/admin-bucket-handlers.go

    			rpt.SetStatus(bucket, fileName, nil)
    		}
    	}
    
    	for _, file := range zr.File {
    		reader, err := file.Open()
    		if err != nil {
    			rpt.SetStatus(file.Name, "", err)
    			continue
    		}
    		sz := file.FileInfo().Size()
    		slc := strings.Split(file.Name, slashSeparator)
    		if len(slc) != 2 { // expecting bucket/configfile in the zipfile
    			rpt.SetStatus(file.Name, "", fmt.Errorf("malformed zip - expecting format bucket/<config.json>"))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/resources/extractor/test.xml

    		<access kind="url">http://www.taro.com/</access>
    		<image file="taro.png" />
    	</item>
    	<item sex="male" custid="B23456">
    		<name>佐藤二朗</name>
    		<access kind="email">******@****.***</access>
    		<image file="jiro.png" />
    	</item>
    	<item sex="female" custid="C34567">
    		<name>田中花子</name>
    		<access kind="tel">090-xxxx-xxxx</access>
    		<image file="hanako.png" />
    	</item>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 582 bytes
    - Viewed (0)
Back to top