Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 923 for ilen (4.74 seconds)

  1. cmd/bucket-metadata_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBucketMetadata(b *testing.B) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/middleware.md

    # Middleware { #middleware }
    
    **FastAPI** uygulamalarına middleware ekleyebilirsiniz.
    
    "Middleware", herhangi bir özel *path operation* tarafından işlenmeden önce her **request** ile çalışan bir fonksiyondur. Ayrıca geri döndürmeden önce her **response** ile de çalışır.
    
    * Uygulamanıza gelen her **request**'i alır.
    * Ardından o **request** üzerinde bir işlem yapabilir veya gerekli herhangi bir kodu çalıştırabilir.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. internal/dsync/drwmutex.go

    }
    
    func isLocked(uid string) bool {
    	return len(uid) > 0
    }
    
    // NewDRWMutex - initializes a new dsync RW mutex.
    func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex {
    	restClnts, _ := clnt.GetLockers()
    	sort.Strings(names)
    	return &DRWMutex{
    		writeLocks:           make([]string, len(restClnts)),
    		readLocks:            make([]string, len(restClnts)),
    		Names:                names,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. schema/utils.go

    	var parsedNames []string
    	for i := 0; i < len(names); i++ {
    		s := names[i]
    		for strings.HasSuffix(s, "\\") && i+1 < len(names) {
    			i++
    			s = s[:len(s)-1] + sep + names[i]
    		}
    		parsedNames = append(parsedNames, s)
    	}
    
    	for _, tag := range parsedNames {
    		values := strings.Split(tag, ":")
    		k := strings.TrimSpace(strings.ToUpper(values[0]))
    		if len(values) >= 2 {
    			val := strings.Join(values[1:], ":")
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 11:15:36 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/EncodableTest.java

            assertEquals(len, enc.size(), "size() must equal provided length");
            assertEquals(len, written, "encode() must return number of bytes written");
    
            // Assert: copied region equals the source slice.
            for (int i = 0; i < len; i++) {
                assertEquals(src[off + i], dst[dstIndex + i], "Byte mismatch at " + i);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. cmd/erasure-server-pool-rebalance_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgrebalanceInfo(b *testing.B) {
    	v := rebalanceInfo{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/query-params-str-validations.md

    [Python Tiplerine Giriş](../python-types.md#type-hints-with-metadata-annotations) içinde `Annotated` ile parametrelerinize metadata ekleyebileceğinizi söylemiştim, hatırlıyor musunuz?
    
    Şimdi bunu FastAPI ile kullanmanın zamanı. 🚀
    
    Şu tip anotasyonuna sahiptik:
    
    ```Python
    q: str | None = None
    ```
    
    Şimdi bunu `Annotated` ile saracağız; şöyle olacak:
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                    int len = 0;
                    // Use appropriate string decoding based on Unicode flag
                    try {
                        if ((flags2 & FLAGS2_UNICODE) == FLAGS2_UNICODE) {
                            while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) {
                                len += 2;
                                if (len > 256) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. finisher_api.go

    			}
    		}
    
    		// initialize with attrs, conds
    		if len(db.Statement.attrs) > 0 {
    			result.assignInterfacesToValue(db.Statement.attrs...)
    		}
    
    		// initialize with attrs, conds
    		if len(db.Statement.assigns) > 0 {
    			result.assignInterfacesToValue(db.Statement.assigns...)
    		}
    
    		return tx.Create(dest)
    	} else if len(db.Statement.assigns) > 0 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  10. association.go

    		associationDB.Select(selectedSaveColumns)
    	}
    	if len(omitColumns) > 0 {
    		associationDB.Omit(omitColumns...)
    	}
    	associationDB = associationDB.Session(&Session{})
    
    	switch reflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		if len(values) != reflectValue.Len() {
    			// clear old data
    			if clear && len(values) == 0 {
    				for i := 0; i < reflectValue.Len(); i++ {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Oct 26 12:09:12 GMT 2025
    - 23.6K bytes
    - Click Count (0)
Back to Top