Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,435 for useAbs (0.15 sec)

  1. src/cmd/internal/obj/x86/asm6.go

    	if !CanUse1InsnTLS(ctxt) {
    		useTLS := func(p *obj.Prog) bool {
    			// Only need to mark the second instruction, which has
    			// REG_TLS as Index. (It is okay to interrupt and restart
    			// the first instruction.)
    			return p.From.Index == REG_TLS
    		}
    		obj.MarkUnsafePoints(ctxt, s.Func().Text, newprog, useTLS, nil)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. docs_src/bigger_applications/app/routers/users.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 407 bytes
    - Viewed (0)
  3. docs_src/bigger_applications/app_an/routers/users.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 407 bytes
    - Viewed (0)
  4. docs_src/bigger_applications/app_an_py39/routers/users.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 407 bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    			return
    		}
    	}
    
    	accountName := cred.AccessKey
    	if cred.IsTemp() || cred.IsServiceAccount() {
    		// For derived credentials, check the parent user's permissions.
    		accountName = cred.ParentUser
    	}
    
    	roleArn := policy.Args{Claims: cred.Claims}.GetRoleArn()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users-race_test.go

    				if err != nil {
    					return err
    				}
    				c.mustNotListObjects(ctx, uClient, bucket)
    				return nil
    			}
    		}(i), i)
    	}
    	if errs := g.Wait(); len(errs) > 0 {
    		c.Fatalf("unable to remove users: %v", errs)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFilePermissions.java

        /**
         * Sets Unix style permissions. Accept values in two styles of notation:
         * <ul>
         *     <li>NUMERIC notation: uses 3 octal (base-8) digits representing permissions for the 3 categories of users; for example "755"</li>
         *     <li>SYMBOLIC notation: uses 3 sets of 3 characters, each set representing the permissions for one of the user categories; for example "rwxr-xr-x"</li>
         * </ul>
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. pkg/kubelet/userns/userns_manager.go

    		return
    	}
    
    	if len(userNs.UIDMappings) != 1 {
    		err = fmt.Errorf("invalid user namespace configuration: no more than one mapping allowed.")
    		return
    	}
    
    	if len(userNs.UIDMappings) != len(userNs.GIDMappings) {
    		err = fmt.Errorf("invalid user namespace configuration: GID and UID mappings should be identical.")
    		return
    	}
    
    	if userNs.UIDMappings[0] != userNs.GIDMappings[0] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. tests/delete_test.go

    		if count := DB.Unscoped().Model(&users).Association(key).Count(); count != value {
    			t.Errorf("user's %v expects: %v, got %v", key, value, count)
    		}
    	}
    
    	for key, value := range map[string]int64{"Account": 0, "Pets": 0, "Toys": 0, "Company": 4, "Manager": 4, "Team": 0, "Languages": 0, "Friends": 0} {
    		if count := DB.Model(&users).Association(key).Count(); count != value {
    			t.Errorf("user's %v expects: %v, got %v", key, value, count)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. tests/update_test.go

    		t.Errorf("Failed to update users")
    	}
    
    	if users[0].Name != "updates_01_newname" || users[0].Age != 100 {
    		t.Errorf("Record should be updated also with map")
    	}
    
    	if users[0].UpdatedAt.UnixNano() == lastUpdatedAt.UnixNano() {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
Back to top