Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 761 for synced (0.05 sec)

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

        // operation) no overload can be selected in phase 1.  and in phase 2 it is ambiguous since it
        // matches with the second parameter being boxed and without it being boxed.  The cast to Object
        // 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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // writeInt2(100000) will truncate to 100000 & 0xFFFF = 34464
            SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation
    
            // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer,
            // let's test the actual validation logic instead
            byte[] buffer2 = createBasicNegotiateResponseBuffer();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        return Ordering.explicit(new ArrayList<>(elementsPlus));
      }
    
      /*
       * All the ContiguousSet generators below manually reject nulls here. In principle, we'd like to
       * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However,
       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Update activity timestamp
         */
        public void updateActivity() {
            this.lastActivityTime = System.currentTimeMillis();
        }
    
        /**
         * Get idle time since last activity
         *
         * @return idle time in milliseconds
         */
        public long getIdleTime() {
            return System.currentTimeMillis() - lastActivityTime;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
      public void testSimple() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        limiter.acquire(); // R0.00, since it's the first request
        limiter.acquire(); // R0.20
        limiter.acquire(); // R0.20
        assertEvents("R0.00", "R0.20", "R0.20");
      }
    
      public void testImmediateTryAcquire() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
      public void testSimple() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        limiter.acquire(); // R0.00, since it's the first request
        limiter.acquire(); // R0.20
        limiter.acquire(); // R0.20
        assertEvents("R0.00", "R0.20", "R0.20");
      }
    
      public void testImmediateTryAcquire() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        // Manually write an invalid masked close frame.
        server.sink.write("888760b420bb635c68de0cd84f".decodeHex()).emit()
        client.processNextFrame() // Detects error, disconnects immediately since close already sent.
        client.webSocket!!.finishReader()
        taskFaker.runTasks()
        assertThat(client.closed).isTrue()
        client.listener.assertFailure(
          ProtocolException::class.java,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertDoesNotThrow(() -> impl.releaseBuffer(supplied));
            for (byte value : supplied) {
                assertEquals(0, value, "Released buffer must be zeroed even if not cached");
            }
    
            // Since cache cannot store, getBuffer must create a new buffer of configured size
            byte[] got = impl.getBuffer();
            assertNotNull(got);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            int len = cmd.writeParameterWordsWireFormat(buffer, 0);
            assertEquals(-12, len, "writeParameterWordsWireFormat should write 12 Bytes");
            // Validate parameter bytes using reflection since fields are private
            assertEquals(getField(cmd, "fid"), SMBUtil.readInt2(buffer, 0));
            assertEquals(getField(cmd, "typeOfLock"), buffer[2]);
            assertEquals(getField(cmd, "newOpLockLevel"), buffer[3]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

       */
      @get:JvmName("proxySelector") val proxySelector: ProxySelector,
    ) {
      /**
       * Returns a URL with the hostname and port of the origin server. The path, query, and fragment of
       * this URL are always empty, since they are not significant for planning a route.
       */
      @get:JvmName("url")
      val url: HttpUrl =
        HttpUrl
          .Builder()
          .scheme(if (sslSocketFactory != null) "https" else "http")
          .host(uriHost)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top