Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for existante (0.14 sec)

  1. cmd/xl-storage_test.go

    		}
    	}
    }
    
    func TestXLStorageIsDirEmpty(t *testing.T) {
    	tmp := t.TempDir()
    
    	// Should give false on non-existent directory.
    	dir1 := slashpath.Join(tmp, "non-existent-directory")
    	if isDirEmpty(dir1, true) {
    		t.Error("expected false for non-existent directory, got true")
    	}
    
    	// Should give false for not-a-directory.
    	dir2 := slashpath.Join(tmp, "file")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    						if dr == nil {
    							fmt.Fprintf(writer,
    								"WARNING: Proxy is stale; it references to non-existent destination rule %s.%s\n",
    								drName, drNamespace)
    						}
    						recordDestinationRules[newResourceID(drNamespace, drName)] = dr.DeepCopy()
    					}
    				}
    				if dr != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    func TestObjectAPIIsUploadIDExists(t *testing.T) {
    	ExecObjectLayerTest(t, testObjectAPIIsUploadIDExists)
    }
    
    // Tests validates the validator for existence of uploadID.
    func testObjectAPIIsUploadIDExists(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    	object := "minio-object"
    
    	// Create bucket before initiating NewMultipartUpload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if (userSuppliedConfigurationProcessorCount == 0) {
                //
                // Our settings.xml source is historically how we have configured Maven from the CLI so we are going to
                // have to honour its existence forever. So let's run it.
                //
                configurationProcessors.get(SettingsXmlConfigurationProcessor.HINT).process(cliRequest);
            } else if (userSuppliedConfigurationProcessorCount == 1) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	}
    
    	// Attempting to set a non-existent policy should fail.
    	userDN := "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    	_, err = s.adm.AttachPolicyLDAP(ctx, madmin.PolicyAssociationReq{
    		Policies: []string{policy + "x"},
    		User:     userDN,
    	})
    	if err == nil {
    		c.Fatalf("should not be able to attach non-existent policy")
    	}
    
    	userReq := madmin.PolicyAssociationReq{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

                string(TF_Message(s_)));
    }
    
    TEST_F(CApiFunctionTest, Attribute) {
      DefineFunction(func_name_, &func_);
    
      // Get non existent attribute
      TF_Buffer* attr_buf = TF_NewBuffer();
      TF_FunctionGetAttrValueProto(func_, "foo_attr", attr_buf, s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    	cache.updatedAt = UTCNow()
    	return cache.updatedAt, addedOrRemoved, newPolicies, nil
    }
    
    // PolicyDBSet - update the policy mapping for the given user or group in
    // storage and in cache. We do not check for the existence of the user here
    // since users can be virtual, such as for:
    //   - LDAP users
    //   - CommonName for STS accounts generated by AssumeRoleWithCertificate
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	if bucket == minioMetaBucket {
    		return false
    	}
    	switch {
    	// Check if we have a read quorum issue
    	case errors.Is(err, errErasureReadQuorum):
    		return true
    	// Check if the object is non-existent on most disks but not all of them
    	case (errors.Is(err, errFileNotFound) || errors.Is(err, errFileVersionNotFound)) && (countErrs(errs, nil) > 0):
    		return true
    	}
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    				return ListObjectsInfo{}, ctx.Err()
    			}
    		}
    		// Hadoop makes the max-keys=2 listing call just to find if the directory is empty or not, or in the case
    		// of an object to check for object existence. For versioned buckets, MinIO's non-recursive
    		// call will report top level prefixes in deleted state, whereas spark/hadoop interpret this as non-empty
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	}
    	dstFilePath := pathutil.Join(dstVolumeDir, dstPath)
    	if err = checkPathLength(dstFilePath); err != nil {
    		return err
    	}
    	if srcIsDir {
    		// If source is a directory, we expect the destination to be non-existent but we
    		// we still need to allow overwriting an empty directory since it represents
    		// an object empty directory.
    		dirInfo, err := Lstat(dstFilePath)
    		if isSysErrIO(err) {
    			return errFaultyDisk
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top