Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 2,092 for 10 (1.11 sec)

  1. src/bytes/buffer_test.go

    func TestCapWithPreallocatedSlice(t *testing.T) {
    	buf := NewBuffer(make([]byte, 10))
    	n := buf.Cap()
    	if n != 10 {
    		t.Errorf("expected 10, got %d", n)
    	}
    }
    
    func TestCapWithSliceAndWrittenData(t *testing.T) {
    	buf := NewBuffer(make([]byte, 0, 10))
    	buf.Write([]byte("test"))
    	n := buf.Cap()
    	if n != 10 {
    		t.Errorf("expected 10, got %d", n)
    	}
    }
    
    func TestNil(t *testing.T) {
    	var b *Buffer
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Padding0 int16
    pkg syscall (freebsd-386), type Stat_t struct, Padding1 int32
    pkg syscall (freebsd-386), type Stat_t struct, Rdev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Spare [10]uint64
    pkg syscall (freebsd-386), type Statfs_t struct, Mntfromname [1024]int8
    pkg syscall (freebsd-386), type Statfs_t struct, Mntonname [1024]int8
    pkg syscall (freebsd-386-cgo), const S_IRWXG = 56
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, 10);
    
            // Verify structure:
            // Offset 0-1: FID (2 bytes)
            // Offset 2-3: Reserved (2 bytes, should be 0x00)
            // Offset 4-7: Security Information (4 bytes)
            assertEquals(8, bytesWritten);
    
            // Check FID
            assertEquals(0xABCD, SMBUtil.readInt2(dst, 10));
    
            // Check reserved bytes are zero
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. src/main/config/openapi/openapi-user.yaml

              required: false
              schema:
                type: integer
                minimum: 0
                exclusiveMinimum: false
                default: 10
                example: 10
            - name: facet.minDocCount
              in: query
              description: Minumum document size in facets
              required: false
              schema:
                type: integer
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10"))
      }
    
      @Test
      fun multilineCr() {
        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r"),
        )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        MathPreconditions.checkInRangeForRoundingInputs(true, 1.0, RoundingMode.UP);
      }
    
      public void testCheckInRange_failure() {
        ArithmeticException expected =
            assertThrows(
                ArithmeticException.class,
                () -> MathPreconditions.checkInRangeForRoundingInputs(false, 1.0, RoundingMode.UP));
        assertThat(expected).hasMessageThat().contains("1.0");
        assertThat(expected).hasMessageThat().contains("UP");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/path-params-numeric-validations.md

    ## Validaciones numéricas: mayor o igual { #number-validations-greater-than-or-equal }
    
    Con `Query` y `Path` (y otros que verás más adelante) puedes declarar restricciones numéricas.
    
    Aquí, con `ge=1`, `item_id` necesitará ser un número entero "`g`reater than or `e`qual" a `1`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/path-params-numeric-validations.md

    ## Validierung von Zahlen: Größer und kleiner oder gleich { #number-validations-greater-than-and-less-than-or-equal }
    
    Das Gleiche gilt für:
    
    * `gt`: `g`reater `t`han (größer als)
    * `le`: `l`ess than or `e`qual (kleiner oder gleich)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

        }
    
        @Test
        void testActivityTracking() {
            long initialTime = channelInfo.getLastActivityTime();
    
            // Wait a bit and update activity
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            channelInfo.updateActivity();
            assertTrue(channelInfo.getLastActivityTime() > initialTime);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. cmd/osmetric_string.go

    	_ = x[osMetricRename-3]
    	_ = x[osMetricOpenFileW-4]
    	_ = x[osMetricOpenFileR-5]
    	_ = x[osMetricOpenFileWFd-6]
    	_ = x[osMetricOpenFileRFd-7]
    	_ = x[osMetricOpen-8]
    	_ = x[osMetricOpenFileDirectIO-9]
    	_ = x[osMetricLstat-10]
    	_ = x[osMetricRemove-11]
    	_ = x[osMetricStat-12]
    	_ = x[osMetricAccess-13]
    	_ = x[osMetricCreate-14]
    	_ = x[osMetricReadDirent-15]
    	_ = x[osMetricFdatasync-16]
    	_ = x[osMetricSync-17]
    	_ = x[osMetricLast-18]
    }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top