Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for wantLen (0.06 sec)

  1. src/archive/zip/zip_test.go

    	}
    	t.Parallel()
    	// gen returns a func that writes a zip with a wantLen bytes
    	// of central directory.
    	gen := func(wantLen int64) func(*Writer) {
    		return func(w *Writer) {
    			w.testHookCloseSizeOffset = func(size, off uint64) {
    				if size != uint64(wantLen) {
    					t.Errorf("Close central directory size = %d; want %d", size, wantLen)
    				}
    			}
    
    			uint16string := strings.Repeat(".", uint16max)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    				cs = ""
    			}
    			if typ.Is(ChecksumIncludesMultipart) {
    				wantLen := int(t) * length
    				if len(b) < wantLen {
    					break
    				}
    				// Read part checksum
    				if part > 0 && uint64(part) <= t {
    					offset := (part - 1) * length
    					partCs := b[offset:]
    					cs = base64.StdEncoding.EncodeToString(partCs[:length])
    				}
    				b = b[wantLen:]
    			}
    		} else if part > 1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. docs/de/docs/async.md

    Dann nimmt es 🤖 die erste erledigte Aufgabe (sagen wir, unsere „Langsam-Datei“ 📝) und bearbeitet sie weiter.
    
    Das „Warten auf etwas anderes“ bezieht sich normalerweise auf <abbr title="Input and Output – Eingabe und Ausgabe">I/O</abbr>-Operationen, die relativ „langsam“ sind (im Vergleich zur Geschwindigkeit des Prozessors und des Arbeitsspeichers), wie etwa das Warten darauf, dass:
    
    * die Daten des Clients über das Netzwerk empfangen wurden
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ObjSizes")
    				return
    			}
    			if zb0002 != uint32(dataUsageBucketLen) {
    				err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002}
    				return
    			}
    			for za0001 := range z.ObjSizes {
    				z.ObjSizes[za0001], err = dc.ReadUint64()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java

         * @param result The artifact descriptor result, never {@code null}.
         * @param model The artifact model, never {@code null}.
         * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted.
         */
        Artifact relocatedTarget(RepositorySystemSession session, ArtifactDescriptorResult result, Model model)
                throws ArtifactDescriptorException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Platform.java

       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
       * about arrays for now, as they're a mess. (We previously discussed this in the review of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Platform.java

       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
       * about arrays for now, as they're a mess. (We previously discussed this in the review of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    		t.Errorf("w.Write(%v bytes) = %v, %v; want %v, nil", writeSize, n, err, writeSize)
    	}
    	n, err := w.ReadFrom(bytes.NewReader(input[writeSize:]))
    	if wantn := len(input[writeSize:]); int(n) != wantn || err != nil {
    		t.Errorf("io.Copy(w, %v bytes) = %v, %v; want %v, nil", wantn, n, err, wantn)
    	}
    	if err := w.Flush(); err != nil {
    		t.Errorf("w.Flush() = %v, want nil", err)
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/events.md

    Sie könnten das auf der obersten Ebene des Moduls/der Datei machen, aber das würde auch bedeuten, dass **das Modell geladen wird**, selbst wenn Sie nur einen einfachen automatisierten Test ausführen, dann wäre dieser Test **langsam**, weil er warten müsste, bis das Modell geladen ist, bevor er einen davon unabhängigen Teil des Codes ausführen könnte.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/background-tasks.md

    Das ist nützlich für Vorgänge, die nach einem Request ausgeführt werden müssen, bei denen der Client jedoch nicht unbedingt auf den Abschluss des Vorgangs warten muss, bevor er die Response erhält.
    
    Hierzu zählen beispielsweise:
    
    * E-Mail-Benachrichtigungen, die nach dem Ausführen einer Aktion gesendet werden:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top