Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 344 for SHORT (5.22 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

        // avoids this.
        checkState(aBoolean, "", aBoolean ? "" : anInt, (Object) anInt);
    
        // ambiguous without the .booleanValue() call since the boxing forces us into phase 2 resolution
        short s = 2;
        checkState(boxedBoolean.booleanValue(), "", s);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // When
                bind.decode_out(mockBuffer);
    
                // Then
                verify(mockBuffer, times(5)).dec_ndr_short(); // max xmit, max recv, addr len, result, final short
                verify(mockBuffer).dec_ndr_long(); // assoc group
                verify(mockBuffer).advance(10); // secondary addr (length 10)
                verify(mockBuffer, times(2)).align(4); // alignment calls
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    			}
    		}
    	})
    	if allocs > 0 {
    		t.Errorf("Equal allocated %v times", allocs)
    	}
    }
    
    func TestEqualExhaustive(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    	b_init := make([]byte, size)
    	// randomish but deterministic data
    	for i := 0; i < size; i++ {
    		a[i] = byte(17 * i)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    ///
    
    This is a very simple and short tutorial, if you want to learn about databases in general, about SQL, or more advanced features, go to the <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel docs</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

       */
      @GwtIncompatible // GWT is single threaded
      public void testCopyOf_threadSafe() {
        /*
         * The actual collections that we pass as inputs will be wrappers around these, so
         * ImmutableSet.copyOf won't short-circuit because it won't see an ImmutableSet input.
         */
        ImmutableList<ImmutableSet<String>> distinctCandidatesByAscendingSize =
            ImmutableList.of(
                ImmutableSet.of(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

        public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException {
            int i = 0, n = -5;
    
            if (off + len > b.length) {
                throw new IOException("Buffer too short, bufsize " + b.length + " read " + len);
            }
    
            while (i < len) {
                n = in.read(b, off + i, len - i);
                if (n <= 0) {
                    break;
                }
                i += n;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(char[].class, TypeToken.of(char[][].class).getComponentType().getType());
        assertEquals(byte.class, TypeToken.of(byte[].class).getComponentType().getType());
        assertEquals(short.class, TypeToken.of(short[].class).getComponentType().getType());
        assertEquals(int.class, TypeToken.of(int[].class).getComponentType().getType());
        assertEquals(long.class, TypeToken.of(long[].class).getComponentType().getType());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    			m.size = ei.V2Obj.EcBSize
    		} else {
    			m.size -= offset
    		}
    
    		b, err := os.ReadFile(file)
    		if err != nil {
    			return nil, err
    		}
    		if len(b) < 32 {
    			return nil, fmt.Errorf("file %s too short", file)
    		}
    
    		// Extract block data.
    		ssz := shardSize(ei.V2Obj.EcBSize, ei.V2Obj.EcM)
    		b, err = bitrot(b, blockNum*ssz, ssz)
    		if err != nil {
    			return nil, err
    		}
    
    		if m.mapped == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  9. cmd/erasure-decode_test.go

    // This test is t.Skip()ed as it a long time to run, hence should be run
    // explicitly after commenting out t.Skip()
    func TestErasureDecodeRandomOffsetLength(t *testing.T) {
    	if testing.Short() {
    		t.Skip()
    	}
    	// Initialize environment needed for the test.
    	dataBlocks := 7
    	parityBlocks := 7
    	blockSize := int64(1 * humanize.MiByte)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        public void test_calibrateCpuLoad_zeroTimeout() {
            final boolean result = systemHelper.calibrateCpuLoad(0L);
            assertTrue(result);
        }
    
        public void test_getSystemCpuPercent() {
            final short cpuPercent = systemHelper.getSystemCpuPercent();
            // CPU percent can be -1 if not available or other negative values in test environment
            assertTrue(cpuPercent >= -1);
            assertTrue(cpuPercent <= 100);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top