Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for inline (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt

     * there are multiple `this` objects in scope.
     */
    interface Lockable
    
    internal inline fun Lockable.wait() = (this as Object).wait()
    
    internal inline fun Lockable.notify() = (this as Object).notify()
    
    internal inline fun Lockable.notifyAll() = (this as Object).notifyAll()
    
    internal inline fun Lockable.awaitNanos(nanos: Long) {
      val ms = nanos / 1_000_000L
      val ns = nanos - (ms * 1_000_000L)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/view/admin/general/admin_general.jsp

                                                key="labels.web_api_json_enabled"/></span>
                                        <div class="form-inline col-sm-9">
                                            <la:errors property="webApiJson"/>
                                            <div class="form-check">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 14 00:36:40 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          return inline.invokeAll(tasks, timeout, unit);
        }
    
        // Define the invokeAny methods to invoke the first task
        @Override
        public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
            throws ExecutionException, InterruptedException {
          assertTaskWrapped(tasks);
          lastMethodCalled = "invokeAny";
          return inline.submit(Iterables.get(tasks, 0)).get();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    @Suppress("NOTHING_TO_INLINE")
    internal inline fun <T> List<T>.unmodifiable(): List<T> = Collections.unmodifiableList(this)
    
    /** Returns an immutable wrap of this. */
    @Suppress("NOTHING_TO_INLINE")
    internal inline fun <T> Set<T>.unmodifiable(): Set<T> = Collections.unmodifiableSet(this)
    
    /** Returns an immutable wrap of this. */
    @Suppress("NOTHING_TO_INLINE")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

          assertThat(buffer.readUtf8()).isEqualTo("Hello")
        }
      }
    
      private inline fun <T> assertOnFileDescriptor(
        content: String? = null,
        fn: (FileDescriptor) -> T,
      ): T =
        assertOnPath(content) {
          FileInputStream(filePath.toFile()).use { fis ->
            fn(fis.fd)
          }
        }
    
      private inline fun <T> assertOnPath(
        content: String? = null,
        fn: (okio.Path) -> T,
      ): T {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

            taskRunner.kickCoordinator(this)
          }
        }
      }
    
      /**
       * Overload of [schedule] that uses a lambda for a repeating task.
       *
       * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466
       */
      fun schedule(
        name: String,
        delayNanos: Long = 0L,
        block: () -> Long,
      ) {
        schedule(
          object : Task(name) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

              localDelegate.execute(this);
            }
          } finally {
            // Important to null this out here - if we did *not* execute inline, we might still
            // run() on the same thread that called execute() - such as in a thread pool, and think
            // that it was happening inline. As a side benefit, avoids holding on to the Thread object
            // longer than necessary.
            submitting = null;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

            }
          }
        } catch (e: NoSuchElementException) {
          throw AssertionError("full event sequence: $fullEventSequence", e)
        }
      }
    
      inline fun <reified T : CallEvent> removeUpToEvent(): T = removeUpToEvent(T::class.java)
    
      inline fun <reified T : CallEvent> findEvent(): T = eventSequence.first { it is T } as T
    
      /**
       * Remove and return the next event from the recorded sequence.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

      fun headers(name: String): List<String> = headers.values(name)
    
      /** Returns the tag attached with [T] as a key, or null if no tag is attached with that key. */
      @JvmName("reifiedTag")
      inline fun <reified T : Any> tag(): T? = tag(T::class)
    
      /** Returns the tag attached with [type] as a key, or null if no tag is attached with that key. */
      fun <T : Any> tag(type: KClass<T>): T? = type.java.cast(tags[type])
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/score/ScoreBooster.java

            for (final String id : ids) {
                bulkRequestBuilder.add(client.prepareUpdate()
                        .setIndex(index)
                        .setId(id)
                        .setScript(new Script(ScriptType.INLINE, scriptLang, scriptCode, params)));
            }
            if (bulkRequestBuilder.numberOfActions() > requestCacheSize) {
                flush();
            }
            return (long) ids.length;
        };
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top