Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 218 for 120 (0.02 sec)

  1. internal/ringbuffer/ring_buffer_test.go

    }
    
    func timeout(after time.Duration) (cancel func()) {
    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    		case <-cc:
    			return
    		case <-c:
    			buf := make([]byte, 1<<20)
    			stacklen := runtime.Stack(buf, true)
    			fmt.Printf("=== Timeout, assuming deadlock ===\n*** goroutine dump...\n%s\n*** end\n", string(buf[:stacklen]))
    			os.Exit(2)
    		}
    	}()
    	return func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    	_, err := dst.Write([]byte{dataUsageCacheVerCurrent})
    	if err != nil {
    		return err
    	}
    	enc, err := zstd.NewWriter(dst,
    		zstd.WithEncoderLevel(zstd.SpeedFastest),
    		zstd.WithWindowSize(1<<20),
    		zstd.WithEncoderConcurrency(2))
    	if err != nil {
    		return err
    	}
    	mEnc := msgp.NewWriter(enc)
    	err = d.EncodeMsg(mEnc)
    	if err != nil {
    		return err
    	}
    	err = mEnc.Flush()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

     *
     * <p>For media types that take a charset the predefined constants default to UTF-8 and have a
     * "_UTF_8" suffix. To get a version without a character set, use {@link #withoutParameters}.
     *
     * @since 12.0
     * @author Gregory Kick
     */
    @GwtCompatible
    @Immutable
    @ElementTypesAreNonnullByDefault
    public final class MediaType {
      private static final String CHARSET_ATTRIBUTE = "charset";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Files.java

       * @param file the file to read
       * @param hashFunction the hash function to use to hash the data
       * @return the {@link HashCode} of all of the bytes in the file
       * @throws IOException if an I/O error occurs
       * @since 12.0
       * @deprecated Prefer {@code asByteSource(file).hash(hashFunction)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asByteSource(file).hash(hashFunction)",
          imports = "com.google.common.io.Files")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {1, 2}, -3, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 0, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, 2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 3, new float[] {2, 1});
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        testRotate(new int[] {1, 2}, -3, new int[] {2, 1});
        testRotate(new int[] {1, 2}, -1, new int[] {2, 1});
        testRotate(new int[] {1, 2}, -2, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 0, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 1, new int[] {2, 1});
        testRotate(new int[] {1, 2}, 2, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 3, new int[] {2, 1});
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2}, -3, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 0, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, 2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 3, new double[] {2, 1});
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {1, 2}, -3, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 0, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, 2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 3, new float[] {2, 1});
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongsTest.java

        testRotate(new long[] {1, 2}, -3, new long[] {2, 1});
        testRotate(new long[] {1, 2}, -1, new long[] {2, 1});
        testRotate(new long[] {1, 2}, -2, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 0, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 1, new long[] {2, 1});
        testRotate(new long[] {1, 2}, 2, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 3, new long[] {2, 1});
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                for (var i = start; i <= end; i++) {
                    var i_in_24 = i;
                    if (!this.timePicker24Hour)
                        i_in_24 = selected.hour() >= 12 ? (i == 12 ? 12 : i + 12) : (i == 12 ? 0 : i);
    
                    var time = selected.clone().hour(i_in_24);
                    var disabled = false;
                    if (minDate && time.minute(59).isBefore(minDate))
                        disabled = true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top