Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 138 for SHORT (0.02 seconds)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

                    },
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(1);
        assertThat(
                Shorts.indexOf(
                    new short[] {(short) 4, (short) 3, (short) 2},
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

         */
        private static class TestableLoadControlFilter extends LoadControlFilter {
            private short cpuPercent = 0;
            private int webLoadControl = 0;
            private int apiLoadControl = 0;
    
            public void setCpuPercent(final short cpuPercent) {
                this.cpuPercent = cpuPercent;
            }
    
            public void setWebLoadControl(final int webLoadControl) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/timer/LoadControlMonitorTarget.java

                short maxCpu = 0;
                for (final NodeStats nodeStats : response.getNodes()) {
                    final OsStats os = nodeStats.getOs();
                    if (os != null && os.getCpu() != null) {
                        final short percent = os.getCpu().getPercent();
                        if (percent > maxCpu) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 3K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/query-params.md

    In this case, if you go to:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putShort((short) 0x0101)
            .putShort((short) 0x0100)
            .putShort((short) 0x0000)
            .putShort((short) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
      }
    
      public void testHashFloatIsStable() {
        // Just a spot check.  Better than nothing.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/metadata.md

    | Parameter | Type | Description |
    |------------|------|-------------|
    | `title` | `str` | The title of the API. |
    | `summary` | `str` | A short summary of the API. <small>Available since OpenAPI 3.1.0, FastAPI 0.99.0.</small> |
    | `description` | `str` | A short description of the API. It can use Markdown. |
    | `version` | `string` | The version of the API. This is the version of your own application, not of OpenAPI. For example `2.5.0`. |
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. src/cmd/api/api_test.go

    		go func() {
    			defer wg.Done()
    			_ = NewWalker(context, filepath.Join(testenv.GOROOT(nil), "src"))
    		}()
    	}
    	wg.Wait()
    })
    
    func TestIssue21181(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping with -short")
    	}
    	if *flagCheck {
    		// slow, not worth repeating in -check
    		t.Skip("skipping with -check set")
    	}
    	testenv.MustHaveGoBuild(t)
    
    	warmupCache()
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/llm/LlmMessageTest.java

        }
    
        @Test
        public void test_toStringShortContent() {
            final LlmMessage message = new LlmMessage("user", "Short content");
            final String str = message.toString();
            assertTrue(str.contains("role='user'"));
            assertTrue(str.contains("content='Short content'"));
        }
    
        @Test
        public void test_toStringLongContent() {
            final StringBuilder longContent = new StringBuilder();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Defaults.java

          } else if (type == char.class) {
            return (T) Character.valueOf('\0');
          } else if (type == byte.class) {
            return (T) Byte.valueOf((byte) 0);
          } else if (type == short.class) {
            return (T) Short.valueOf((short) 0);
          } else if (type == int.class) {
            return (T) Integer.valueOf(0);
          } else if (type == long.class) {
            return (T) Long.valueOf(0L);
          } else if (type == float.class) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 2.2K bytes
    - Click Count (0)
Back to Top