Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2301 - 2310 of 4,666 for inT (0.11 seconds)

  1. guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

        public ListenableFuture<Integer> reload(Integer key, Integer oldValue) {
          countReload.incrementAndGet();
          return immediateFuture(oldValue + 1);
        }
    
        public int getLoadCount() {
          return countLoad.get();
        }
    
        public int getReloadCount() {
          return countReload.get();
        }
      }
    
      static final class IdentityLoader<T> extends CacheLoader<T, T> {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    public class CharArrayAsListTest extends TestCase {
    
      private static List<Character> asList(Character[] values) {
        char[] temp = new char[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Chars.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. fastapi/.agents/skills/fastapi/SKILL.md

    
    @app.get("/items/{item_id}")
    async def read_item(
        item_id: Annotated[int, Path(ge=1, description="The item ID")],
        q: Annotated[str | None, Query(max_length=50)] = None,
    ):
        return {"message": "Hello World"}
    ```
    
    instead of:
    
    ```python
    # DO NOT DO THIS
    @app.get("/items/{item_id}")
    async def read_item(
        item_id: int = Path(ge=1, description="The item ID"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(range, "lengthInBytes", 654321L);
            byte[] dst = new byte[20];
            int writtenSize = range.encode(dst, 0);
            assertEquals(10, writtenSize, "Range size when not large should be 10");
            // create a new empty range and decode
            LockingAndXRange decoded = new LockingAndXRange(false);
            int decodedSize = decoded.decode(dst, 0, dst.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rerun/InternalTestRerunPluginFuncTest.groovy

            result.output.contains("Test jvm system exit trace (run: 5)")
        }
    
        private String testMethodContent(boolean withSystemExit, boolean fail, int timesFailing = 1) {
            return """
                int count = countExecutions();
                System.out.println(getClass().getSimpleName() + " total executions: " + count);
    
                ${withSystemExit ? """
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 8.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

              webSocket: WebSocket,
              text: String,
            ) {
              webSocket.send(text)
            }
    
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/PacTest.java

        private void writeLittleEndianInt(ByteArrayOutputStream baos, int value) {
            baos.write(value & 0xFF);
            baos.write((value >> 8) & 0xFF);
            baos.write((value >> 16) & 0xFF);
            baos.write((value >> 24) & 0xFF);
        }
    
        private void writeLittleEndianLong(ByteArrayOutputStream baos, long value) {
            for (int i = 0; i < 8; i++) {
                baos.write((int) ((value >> (i * 8)) & 0xFF));
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // Test thread safety with concurrent operations
            final int threadCount = 10;
            Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    String thumbnailId = "concurrent-" + index;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

        }
    
        @Test
        void testShareEnumAllConstructor() {
            String servername = "\\\\SERVER";
            int level = 1;
            srvsvc.ShareInfoCtr1 info = new srvsvc.ShareInfoCtr1();
            int prefmaxlen = 0xFFFFFFFF;
            int totalentries = 0;
            int resume_handle = 0;
    
            srvsvc.ShareEnumAll enumAll = new srvsvc.ShareEnumAll(servername, level, info, prefmaxlen, totalentries, resume_handle);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. cmd/veeam-sos-api.go

    	SystemRecommendations struct {
    		S3ConcurrentTaskLimit    int `xml:"S3ConcurrentTaskLimit,omitempty"`
    		S3MultiObjectDeleteLimit int `xml:"S3MultiObjectDeleteLimit,omitempty"`
    		StorageCurrentTaskLimit  int `xml:"StorageCurrentTaskLimit,omitempty"`
    		KBBlockSize              int `xml:"KbBlockSize"`
    	} `xml:"SystemRecommendations"`
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 00:34:56 GMT 2024
    - 8.8K bytes
    - Click Count (0)
Back to Top