Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 757 for switches (0.21 sec)

  1. src/archive/tar/strconv.go

    // for the PAX version of the USTAR string fields.
    // The key must not contain an '=' character.
    func validPAXRecord(k, v string) bool {
    	if k == "" || strings.Contains(k, "=") {
    		return false
    	}
    	switch k {
    	case paxPath, paxLinkpath, paxUname, paxGname:
    		return !hasNUL(v)
    	default:
    		return !hasNUL(k)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/podcgroupns.go

    	var podUID types.UID
    	var containerID string
    	for _, cgroup := range cgroups {
    		candidatePodUID, candidateContainerID, ok := getPodUIDAndContainerIDFromCGroupPath(cgroup.GroupPath)
    		switch {
    		case !ok:
    			// Cgroup did not contain a container ID.
    			continue
    		case containerID == "":
    			// This is the first container ID found so far.
    			podUID = candidatePodUID
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                    LsaPolicyHandle policyHandle,
                    SID[] sids) throws IOException {
            MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids);
            handle.sendrecv(rpc);
            switch (rpc.retval) {
                case 0:
                case NtStatus.NT_STATUS_NONE_MAPPED:
                case 0x00000107: // NT_STATUS_SOME_NOT_MAPPED
                    break;
                default:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arch.go

    	return 0, false
    }
    
    // Set configures the architecture specified by GOARCH and returns its representation.
    // It returns nil if GOARCH is not recognized.
    func Set(GOARCH string, shared bool) *Arch {
    	switch GOARCH {
    	case "386":
    		return archX86(&x86.Link386)
    	case "amd64":
    		return archX86(&x86.Linkamd64)
    	case "arm":
    		return archArm()
    	case "arm64":
    		return archArm64()
    	case "loong64":
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

        //                                                                        ============
        private static OptionalEntity<BadWord> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new BadWord()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    	StateConnecting
    
    	// StateConnected is the state when the connection has been established and is considered stable.
    	// If the connection is lost, state will switch to StateConnecting.
    	StateConnected
    
    	// StateConnectionError is the state once a connection attempt has been made, and it failed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. docs/pl/docs/index.md

    ---
    
    "_If you're looking to learn one **modern framework** for building REST APIs, check out **FastAPI** [...] It's fast, easy to use and easy to learn [...]_"
    
    "_We've switched over to **FastAPI** for our **APIs** [...] I think you'll like it [...]_"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. cmd/update_test.go

    	}
    
    	for _, testCase := range testCases {
    		u, err := url.Parse(testCase.releaseChecksumURL)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		result, err := downloadReleaseURL(u, 1*time.Second, "")
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    				t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err)
    			}
    		case err == nil:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. internal/http/listener_test.go

    	localIP4 := set.NewStringSet()
    	addrs, err := net.InterfaceAddrs()
    	if err != nil {
    		t.Fatalf("%s.  Unable to get IP addresses of this host.", err)
    	}
    
    	for _, addr := range addrs {
    		var ip net.IP
    		switch v := addr.(type) {
    		case *net.IPNet:
    			ip = v.IP
    		case *net.IPAddr:
    			ip = v.IP
    		}
    
    		if ip.To4() != nil {
    			localIP4.Add(ip.String())
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>This class incurs IO because it scans the classpath and reads classpath resources.
     *
     * @author Ben Yu
     * @since 14.0
     */
    // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass
    // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4).
    @GwtIncompatible
    @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top