Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2581 - 2590 of 3,237 for get2 (0.04 sec)

  1. docs/fr/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    En contrepartie l'API _des opérations de chemin_ de FastAPI pourrait ressembler à ceci :
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Notez les similitudes entre `requests.get(...)` et `@app.get(...)`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SID.java

         */
        @Override
        public SID getDomainSid () {
            return new SID(this, SID_TYPE_DOMAIN, this.domainName, null, getType() != SID_TYPE_DOMAIN);
        }
    
    
        /**
         * Get the RID
         * 
         * This is the last subauthority identifier
         * 
         * @return the RID
         */
        @Override
        public int getRid () {
            if ( getType() == SID_TYPE_DOMAIN )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        log.println( "NetBIOS: new data read from socket" );
    
                    nameTrnId = NameServicePacket.readNameTrnId( rcv_buf, 0 );
                    response = (NameServicePacket)responseTable.get( new Integer( nameTrnId ));
                    if( response == null || response.received ) {
                        continue;
                    }
                    synchronized( response ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/response-model.md

    # 响应模型
    
    你可以在任意的*路径操作*中使用 `response_model` 参数来声明用于响应的模型:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 等等。
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="17  22  24-27"
    {!> ../../docs_src/response_model/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="17  22  24-27"
    {!> ../../docs_src/response_model/tutorial001_py39.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. tests/scan_test.go

    	}
    
    	type Result struct {
    		Name string
    		Age  int
    	}
    
    	var results []Result
    	for rows.Next() {
    		var result Result
    		if err := DB.ScanRows(rows, &result); err != nil {
    			t.Errorf("should get no error, but got %v", err)
    		}
    		results = append(results, result)
    	}
    
    	sort.Slice(results, func(i, j int) bool {
    		return strings.Compare(results[i].Name, results[j].Name) <= -1
    	})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. schema/schema.go

    	TableName() string
    }
    
    type TablerWithNamer interface {
    	TableName(Namer) string
    }
    
    // Parse get data type from dialector
    func Parse(dest interface{}, cacheStore *sync.Map, namer Namer) (*Schema, error) {
    	return ParseWithSpecialTableName(dest, cacheStore, namer, "")
    }
    
    // ParseWithSpecialTableName get data type from dialector with extra schema table
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. cmd/format-erasure_test.go

    	if ok := formatErasureV3ThisEmpty(formats); !ok {
    		t.Fatalf("expected value true, got %t", ok)
    	}
    }
    
    // Tests xl format migration.
    func TestFormatErasureMigrate(t *testing.T) {
    	// Get test root.
    	rootPath := t.TempDir()
    
    	m := &formatErasureV1{}
    	m.Format = formatBackendErasure
    	m.Version = formatMetaVersionV1
    	m.Erasure.Version = formatErasureVersionV1
    	m.Erasure.Disk = mustGetUUID()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/cbean/bs/BsSearchLogCB.java

            return (SearchLogCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
        // ===================================================================================
        //                                                                               Build
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        assertThat(map.keys).hasLength(10);
        assertThat(map.values).hasLength(10);
        assertEquals(10, map.size());
        for (int i = 0; i < 10; i++) {
          assertEquals(Integer.toString(i), map.get(i));
        }
      }
    
      public void testEntrySetValueAfterRemoved() {
        CompactHashMap<Integer, String> map = CompactHashMap.create();
        map.put(1, "1");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. internal/s3select/sql/utils.go

    	n := len(jpath.PathExpr)
    	if n > 0 && jpath.PathExpr[n-1].Key == nil {
    		return "", false
    	}
    	ps := jpath.String()
    	if idx := strings.LastIndex(ps, "."); idx >= 0 {
    		// Get last part of path string.
    		ps = ps[idx+1:]
    	}
    	return ps, true
    }
    
    // HasKeypath returns if the from clause has a key path -
    // e.g. S3object[*].id
    func (from *TableExpression) HasKeypath() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
Back to top