Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 910 for uast (0.13 sec)

  1. src/bufio/bufio.go

    	buf          []byte
    	rd           io.Reader // reader provided by the client
    	r, w         int       // buf read and write positions
    	err          error
    	lastByte     int // last byte read for UnreadByte; -1 means invalid
    	lastRuneSize int // size of last rune read for UnreadRune; -1 means invalid
    }
    
    const minReadBufferSize = 16
    const maxConsecutiveEmptyReads = 100
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractBiMap.java

      }
    
      private void updateInverseMap(
          @ParametricNullness K key,
          boolean containedKey,
          @CheckForNull V oldValue,
          @ParametricNullness V newValue) {
        if (containedKey) {
          // The cast is safe because of the containedKey check.
          removeFromInverseMap(uncheckedCastNullableTToT(oldValue));
        }
        inverse.delegate.put(newValue, key);
      }
    
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        server.enqueue(
          MockResponse.Builder()
            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .body("ABC")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Last-Modified: " + formatDate(-5, TimeUnit.MINUTES))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

                            )
                        )
                    )
                ),
                isVarargs = true,
                asArgument = "mapOf(*${first.asArgument})"
            )
            if (last().type.isSAM) last().let { action -> drop(1).dropLast(1) + mappedMapParameter + action }
            else drop(1) + mappedMapParameter
        } ?: this
    
    
    private
    fun List<MappedApiFunctionParameter>.javaClassToKotlinClass() =
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

        if (allMustSucceed) {
          // We need fail fast, so we have to keep track of which future failed so we can propagate
          // the exception immediately
    
          // Register a listener on each Future in the list to update the state of this future.
          // Note that if all the futures on the list are done prior to completing this loop, the last
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

       */
      private val enforceOrder: Boolean = true,
    ) : EventListener() {
      val eventSequence: Deque<CallEvent> = ConcurrentLinkedDeque()
    
      private val forbiddenLocks = mutableListOf<Any>()
    
      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

        }
        return total;
      }
    
      private long aggregateBelowRange(Aggregate aggr, @CheckForNull AvlNode<E> node) {
        if (node == null) {
          return 0;
        }
        // The cast is safe because we call this method only if hasLowerBound().
        int cmp =
            comparator()
                .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement());
        if (cmp < 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    	for _, file := range w.current.Files {
    		ast.Inspect(file, func(n ast.Node) bool {
    			switch n := n.(type) {
    			case *ast.File:
    				if isDeprecated(n.Doc) {
    					mark(n.Name)
    				}
    				return true
    			case *ast.GenDecl:
    				if isDeprecated(n.Doc) {
    					for _, spec := range n.Specs {
    						switch spec := spec.(type) {
    						case *ast.ValueSpec:
    							for _, id := range spec.Names {
    								mark(id)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          if (!compareAndSet(currentThread, DONE)) {
            waitForInterrupt(currentThread);
          }
          if (run) {
            if (error == null) {
              // The cast is safe because of the `run` and `error` checks.
              afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
            } else {
              afterRanInterruptiblyFailure(error);
            }
          }
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    //
    // If the current file is sparse and w is an io.WriteSeeker,
    // then writeTo uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are filled with NULs.
    // This always writes the last byte to ensure w is the right size.
    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    // See https://golang.org/issue/22735
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top