Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 418 for Nothing$ (0.07 sec)

  1. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      }
    
      public void testMaximalWeakStripedLock() {
        Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE);
        for (int i = 0; i < 10000; i++) {
          stripedLock.get(new Object()).lock();
          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = Maps.newHashMap();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * with merged information or a clone of {@code recessive} if
         * {@code dominant} is {@code null}.
         *
         * @param dominant the node
         * @param recessive if {@code null}, nothing will happen
         * @return the merged node
         */
        @Nullable
        static XmlNode merge(@Nullable XmlNode dominant, @Nullable XmlNode recessive) {
            return merge(dominant, recessive, null);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       * a default value.
       *
       * If this does read a value, it starts with the tag and length, and reads an entire value,
       * including any potential composed values.
       *
       * If there's nothing to read and no default value, this will throw an exception.
       */
      fun fromDer(reader: DerReader): T
    
      fun fromDer(byteString: ByteString): T {
        val buffer = Buffer().write(byteString)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LineBuffer.java

              break;
    
            case '\n':
              line.append(cbuf, start, pos - start);
              finishLine(true);
              start = pos + 1;
              break;
    
            default:
              // do nothing
          }
        }
        line.append(cbuf, start, off + len - start);
      }
    
      /** Called when a line is complete. */
      @CanIgnoreReturnValue
      private boolean finishLine(boolean sawNewline) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/LineBuffer.java

              break;
    
            case '\n':
              line.append(cbuf, start, pos - start);
              finishLine(true);
              start = pos + 1;
              break;
    
            default:
              // do nothing
          }
        }
        line.append(cbuf, start, off + len - start);
      }
    
      /** Called when a line is complete. */
      @CanIgnoreReturnValue
      private boolean finishLine(boolean sawNewline) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      private val cleanupTask =
        object : Task("$okHttpName Cache") {
          override fun runOnce(): Long {
            synchronized(this@DiskLruCache) {
              if (!initialized || closed) {
                return -1L // Nothing to do.
              }
    
              try {
                trimToSize()
              } catch (_: IOException) {
                mostRecentTrimFailed = true
              }
    
              try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

              public void checkAccess(Thread t) {
                throw new SecurityException();
              }
    
              @Override
              public void checkPermission(Permission perm) {
                // Do nothing so we can clear the security manager at the end
              }
            });
        try {
          final String oldName = Thread.currentThread().getName();
          Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

            routePlanner.hasNext() -> {
              try {
                routePlanner.plan()
              } catch (e: Throwable) {
                FailedPlan(e)
              }
            }
            else -> return null // Nothing further to try.
          }
    
        // Already connected. Return it immediately.
        if (plan.isReady) return ConnectResult(plan)
    
        // Already failed? Return it immediately.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            return updateMap;
        }
    
        @AfterEach
        protected void tearDown() {
            // do nothing
        }
    
        protected String getInstalledEndpointSuffix() {
            return INSTALLED_ENDPOINT_SUFFIX;
        }
    
        protected String getAvailableEndpointSuffix() {
            return AVAILABLE_ENDPOINT_SUFFIX;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 01 02:20:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
            case SLOW_FUNC_VALID_INPUT_DATA:
              funcIsWaitingLatch.countDown();
              awaitUninterruptibly(funcCompletionLatch);
              break;
            case EXCEPTION_DATA:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top