Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 532 for LIMIT (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt

     */
    class HeadersReader(val source: BufferedSource) {
      private var headerLimit = HEADER_LIMIT.toLong()
    
      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
      fun readHeaders(): Headers {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    type Select struct {
    	Expression *SelectExpression `parser:"\"SELECT\" @@"`
    	From       *TableExpression  `parser:"\"FROM\" @@"`
    	Where      *Expression       `parser:"( \"WHERE\" @@ )?"`
    	Limit      *LitValue         `parser:"( \"LIMIT\" @@ )?"`
    }
    
    // SelectExpression represents the items requested in the select
    // statement
    type SelectExpression struct {
    	All         bool                 `parser:"  @\"*\""`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertThrows(IllegalArgumentException.class, () -> Iterators.limit(list.iterator(), -1));
    
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertFalse(Iterators.limit(list.iterator(), 1).hasNext());
    
        list.add("cool");
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    func newInstallationThrottle(in *Installer) *installationThrottle {
    	return &installationThrottle{
    		// Setup the limiter to once every 5s. We don't actually limit to only 1/5, this is just to use it to keep track
    		// of whether we got a lot of requests
    		limiter: rate.NewLimiter(rate.Limit(0.2), 1),
    		hits:    0,
    		in:      in,
    	}
    }
    
    func (i *installationThrottle) Throttle(ctx context.Context) {
    	res := i.limiter.Reserve()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/PrimitiveSink.java

      /**
       * Puts the remaining bytes of a byte buffer into this sink. {@code bytes.position()} is the first
       * byte written, {@code bytes.limit() - 1} is the last. The position of the buffer will be equal
       * to the limit when this method returns.
       *
       * @param bytes a byte buffer
       * @return this instance
       * @since 23.0
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. tests/sql_builder_test.go

    	// find
    	sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Where("id = ?", 100).Limit(10).Order("age desc").Find(&[]User{})
    	})
    	assertEqualSQL(t, `SELECT * FROM "users" WHERE id = 100 AND "users"."deleted_at" IS NULL ORDER BY age desc LIMIT 10`, sql)
    
    	// after model changed
    	if DB.Statement.DryRun || DB.DryRun {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/documentMap.dfprop

        #  You can set LoadDataReverse settings.
        #  This property is valid when the property 'recordLimit' is set.
        #  Elements of this map are as below:
        #   o recordLimit: The limit of records to output. Minus means no limit. (NotRequired - Default '')
        #   o isReplaceSchemaDirectUse: Does it output the data to playsql directly? (NotRequired - Default false)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 9.4K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      val status: String
    
      val code: Int
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[1].toInt()
        }
    
      val message: String
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[2]
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. .github/workflows/latest-changes.yml

          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
            if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
            with:
              limit-access-to-actor: true
          - uses: tiangolo/latest-changes@0.3.1
            with:
              token: ${{ secrets.GITHUB_TOKEN }}
              latest_changes_file: docs/en/docs/release-notes.md
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 26 02:14:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/LittleEndianByteArray.java

        // of the result already being filled with zeros.
    
        // This loop is critical to performance, so please check HashBenchmark if altering it.
        int limit = min(length, 8);
        for (int i = 0; i < limit; i++) {
          // Shift value left while iterating logically through the array.
          result |= (input[offset + i] & 0xFFL) << (i * 8);
        }
        return result;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top