Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for shouldn (0.23 sec)

  1. cni/pkg/nodeagent/server.go

    // Note that if the ipset already exist by name, Create will not return an error.
    //
    // We will unconditionally flush our set before use here, so it shouldn't matter.
    func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) {
    	linDeps := ipset.RealNlDeps()
    	probeSet, err := ipset.NewIPSet(iptables.ProbeIPSet, isV6, linDeps)
    	if err != nil {
    		return probeSet, err
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    // layer requirements.
    func isValidVolname(volname string) bool {
    	if len(volname) < 3 {
    		return false
    	}
    
    	if runtime.GOOS == "windows" {
    		// Volname shouldn't have reserved characters in Windows.
    		return !strings.ContainsAny(volname, `\:*?\"<>|`)
    	}
    
    	return true
    }
    
    // xlStorage - implements StorageAPI interface.
    type xlStorage struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    				parityDrives++
    				offlineDrives++
    				continue
    			}
    		}
    
    		if offlineDrives >= (len(onlineDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    			// we have no quorum, we shouldn't proceed just
    			// fail at that point.
    			return nil, toObjectErr(errErasureWriteQuorum, bucket, object)
    		}
    
    		if parityDrives >= len(onlineDisks)/2 {
    			parityDrives = len(onlineDisks) / 2
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		}
    	}
    
    	// Check failed deletes across multiple objects
    	for i, dobj := range dobjects {
    		// This object errored, we should attempt a heal just in case.
    		if errs[i] != nil && !isErrVersionNotFound(errs[i]) && !isErrObjectNotFound(errs[i]) {
    			// all other direct versionId references we should
    			// ensure no dangling file is left over.
    			er.addPartial(bucket, dobj.ObjectName, dobj.VersionID)
    			continue
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  5. cmd/iam-store.go

    	if cred.IsServiceAccount() {
    		userType = svcUser
    	} else if cred.IsTemp() {
    		userType = stsUser
    	}
    	ui := newUserIdentity(cred)
    	// Overwrite the user identity here. As store should be
    	// atomic, it shouldn't cause any corruption.
    	if err := store.saveUserIdentity(ctx, cred.AccessKey, userType, ui); err != nil {
    		return err
    	}
    
    	return cache.updateUserWithClaims(cred.AccessKey, ui)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. docs/en/docs/release-notes.md

    ### Breaking Changes
    
    * PR [#2434](https://github.com/tiangolo/fastapi/pull/2434) includes several improvements that shouldn't affect normal use cases, but could affect in advanced scenarios:
        * If you are testing the generated OpenAPI (you shouldn't, FastAPI already tests it extensively for you): the order for `tags` in `include_router` and *path operations* was updated for consistency, but it's a simple order change.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  7. maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

    /**
     * Verifies scope inheritance of direct and transitive dependencies.
     *
     * Should show three behaviors:
     *
     * 1. dependencyManagement should override the scope of transitive dependencies.
     * 2. Direct dependencies should override the scope of dependencyManagement.
     * 3. Direct dependencies should inherit scope from dependencyManagement when
     *    they do not explicitly state a scope.
     *
     */
    @Deprecated
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            assertNotNull(res.getClasspath(), "null classpath after runtime transform");
            assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries");
    
            ArtifactMetadata md = res.getClasspath().get(3);
            assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1");
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. doc/README.md

    glob "*stdlib/*minor" are treated specially. They should be in subdirectories
    corresponding to standard library package paths, and headings for those package
    paths will be generated automatically.
    
    Files in this repo's `api/next` directory must have corresponding files in
    `doc/next/*stdlib/*minor`.
    The files should be in the subdirectory for the package with the new
    API, and should be named after the issue number of the API proposal.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. tests/query_test.go

    	if result.ID != 0 {
    		t.Errorf("Should not have ID because only selected name, %+v", result.ID)
    	}
    
    	if user.Name != result.Name {
    		t.Errorf("Should have user Name when selected it")
    	}
    
    	var result2 User
    	DB.Where("name = ?", user.Name).Select("name as name").Find(&result2)
    	if result2.ID != 0 {
    		t.Errorf("Should not have ID because only selected name, %+v", result2.ID)
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
Back to top