Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for getest (0.17 sec)

  1. misc/ios/detect.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // detect attempts to autodetect the correct
    // values of the environment variables
    // used by go_ios_exec.
    // detect shells out to ideviceinfo, a third party program that can
    // be obtained by following the instructions at
    // https://github.com/libimobiledevice/libimobiledevice.
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.detekt.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        id("io.gitlab.arturbosch.detekt")
    }
    
    detekt {
        // enable all default rules
        buildUponDefaultConfig = true
    
        // customize some of the rules, until we can fix the offending cases
        config.convention(project.isolated.rootProject.projectDirectory.file("gradle/detekt.yml"))
    
        // also check the project build file
        source.from(project.buildFile)
    }
    
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Thu Jun 20 10:11:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. internal/bucket/replication/rule_test.go

    			opts:           ObjectOpts{Name: "c1test", DeleteMarker: false, OpType: ObjectReplicationType, Replica: false}, // 1. Replica mod sync enabled; not a replica
    			expectedResult: true,
    		},
    		// case 2 - rule with replica modification disabled; a replica
    		{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Apr 26 06:43:17 UTC 2023
    - 810 bytes
    - Viewed (0)
  5. docs/nl/docs/environment-variables.md

    Je kunt bijvoorbeeld een bestand `main.py` hebben met:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    Het tweede argument van <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is de standaardwaarde die wordt geretourneerd.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:13:32 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. cmd/warm-backend-azure.go

    	}
    	return nil
    }
    
    func (az *warmBackendAzure) getDest(object string) string {
    	destObj := object
    	if az.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", az.Prefix, object)
    	}
    	return destObj
    }
    
    func (az *warmBackendAzure) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    	resp, err := az.clnt.UploadStream(ctx, az.Bucket, az.getDest(object), io.LimitReader(r, length), &azblob.UploadStreamOptions{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 13 18:21:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_test.c

    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. cmd/warm-backend-s3.go

    func (s3 *warmBackendS3) ToObjectError(err error, params ...string) error {
    	object := ""
    	if len(params) >= 1 {
    		object = params[0]
    	}
    
    	return ErrorRespToObjectError(err, s3.Bucket, s3.getDest(object))
    }
    
    func (s3 *warmBackendS3) getDest(object string) string {
    	destObj := object
    	if s3.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", s3.Prefix, object)
    	}
    	return destObj
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    	bundleID = "golang.gotest"
    
    	exitCode, err := runMain()
    	if err != nil {
    		log.Fatalf("%v\n", err)
    	}
    	os.Exit(exitCode)
    }
    
    func runMain() (int, error) {
    	var err error
    	tmpdir, err = os.MkdirTemp("", "go_ios_exec_")
    	if err != nil {
    		return 1, err
    	}
    	if !debug {
    		defer os.RemoveAll(tmpdir)
    	}
    
    	appdir := filepath.Join(tmpdir, "gotest.app")
    	os.RemoveAll(appdir)
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. cmd/warm-backend-gcs.go

    	object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key)).ReadCompressed(true)
    
    	r, err = object.NewRangeReader(ctx, opts.startOffset, opts.length)
    	if err != nil {
    		return nil, gcsToObjectError(err, gcs.Bucket, key)
    	}
    	return r, nil
    }
    
    func (gcs *warmBackendGCS) Remove(ctx context.Context, key string, rv remoteVersionID) error {
    	err := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key)).Delete(ctx)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jun 22 05:26:45 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top