Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 927 for limitTo (0.13 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

            }
    
            if (skipped < offset) {
              // offset was beyond EOF
              in.close();
              return new ByteArrayInputStream(new byte[0]);
            }
          }
          return ByteStreams.limit(in, length);
        }
    
        @Override
        public ByteSource slice(long offset, long length) {
          checkArgument(offset >= 0, "offset (%s) may not be negative", offset);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * To differentiate the two cases we ping the server when a stream times out. If the overall
       * connection is fine the ping will receive a pong; otherwise it won't.
       *
       * The deadline to respond to this ping attempts to limit the cost of being wrong. If it is too
       * long, streams created while we await the pong will reuse broken connections and inevitably
       * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. src/main/resources/suggest_indices/_cloud/suggest_analyzer.json

            "stopwords": "_english_"
          },
          "content_length_filter": {
            "type": "length",
            "max": 30
          },
          "limit_token_count_filter": {
            "type": "limit",
            "max_token_count": 2147483647
          },
          "stemmer_en_filter": {
            "type": "stemmer",
            "name": "english"
          },
          "arabic_stop": {
            "type":       "stop",
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Feb 27 09:26:16 UTC 2021
    - 57.4K bytes
    - Viewed (1)
  4. docs/metrics/prometheus/grafana/minio-dashboard.json

              "uid": "grafana"
            },
            "enable": true,
            "hide": true,
            "iconColor": "rgba(0, 211, 255, 1)",
            "name": "Annotations & Alerts",
            "target": {
              "limit": 100,
              "matchAny": false,
              "tags": [],
              "type": "dashboard"
            },
            "type": "dashboard"
          }
        ]
      },
      "__inputs": [
        {
          "name": "DS_PROMETHEUS",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 14:51:03 UTC 2024
    - 93K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      @SuppressWarnings("DistinctVarargsChecker") // test of buggy call
      public void testExplicit_withDuplicates() {
        assertThrows(IllegalArgumentException.class, () -> Ordering.explicit(1, 2, 3, 4, 2));
      }
    
      // A more limited test than the one that follows, but this one uses the
      // actual public API.
      @J2ktIncompatible // Ordering.arbitrary
      public void testArbitrary_withoutCollisions() {
        List<Object> list = Lists.newArrayList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

      @SuppressWarnings("DistinctVarargsChecker") // test of buggy call
      public void testExplicit_withDuplicates() {
        assertThrows(IllegalArgumentException.class, () -> Ordering.explicit(1, 2, 3, 4, 2));
      }
    
      // A more limited test than the one that follows, but this one uses the
      // actual public API.
      @J2ktIncompatible // Ordering.arbitrary
      public void testArbitrary_withoutCollisions() {
        List<Object> list = Lists.newArrayList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          finalResults.clear();
        }
        executor.shutdown();
      }
    
      // In a previous implementation this would cause a stack overflow after ~2000 futures chained
      // together.  Now it should only be limited by available memory (and time)
      public void testSetFuture_stackOverflow() {
        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. migrator/migrator.go

    	columnTypes := make([]gorm.ColumnType, 0)
    	execErr := m.RunWithValue(value, func(stmt *gorm.Statement) (err error) {
    		rows, err := m.DB.Session(&gorm.Session{}).Table(stmt.Table).Limit(1).Rows()
    		if err != nil {
    			return err
    		}
    
    		defer func() {
    			err = rows.Close()
    		}()
    
    		var rawColumnTypes []*sql.ColumnType
    		rawColumnTypes, err = rows.ColumnTypes()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * HTTP connections when connection reuse is in practice.
       */
      val requestCount: Int
        get() = atomicRequestCount.get()
    
      /** The number of bytes of the POST body to keep in memory to the given limit. */
      var bodyLimit: Long = Long.MAX_VALUE
    
      var serverSocketFactory: ServerSocketFactory? = null
        @Synchronized get() {
          if (field == null && started) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    	if b.r > 0 {
    		copy(b.buf, b.buf[b.r:b.w])
    		b.w -= b.r
    		b.r = 0
    	}
    
    	if b.w >= len(b.buf) {
    		panic("bufio: tried to fill full buffer")
    	}
    
    	// Read new data: try a limited number of times.
    	for i := maxConsecutiveEmptyReads; i > 0; i-- {
    		n, err := b.rd.Read(b.buf[b.w:])
    		if n < 0 {
    			panic(errNegativeRead)
    		}
    		b.w += n
    		if err != nil {
    			b.err = err
    			return
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
Back to top