Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 43 for onComplete (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
          assertThat(ioe.message).isEqualTo("Premature EOF")
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. docs/debugging/xl-meta/main.go

    		}
    	}
    	if lastValid == 0 {
    		return errors.New("no valid data found")
    	}
    	if missing > 0 {
    		fmt.Println(missing, "bytes missing. Truncating", len(m.filled)-lastValid-1, "from end.")
    		out += ".incomplete"
    	} else {
    		fmt.Println("No bytes missing.")
    		out += ".complete"
    	}
    	m.mapped = m.mapped[:lastValid+1]
    	err = os.WriteFile(out, m.mapped, os.ModePerm)
    	if err != nil {
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         */
        @Nullable Executor delegate;
    
        /**
         * Set before calling delegate.execute(); set to null once run, so that it can be GCed; this
         * object may live on after, if submitAsync returns an incomplete future.
         */
        @Nullable Runnable task;
    
        /** Thread that called execute(). Set in execute, cleared when delegate.execute() returns. */
        @LazyInit @Nullable Thread submitting;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
          assertThat(ioe.message).isEqualTo("Premature EOF")
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  5. cmd/object-api-errors.go

    type IncompleteBody GenericError
    
    // Error returns string an error formatted as the given text.
    func (e IncompleteBody) Error() string {
    	return e.Bucket + "/" + e.Object + " has incomplete body"
    }
    
    // InvalidRange - invalid range typed error.
    type InvalidRange struct {
    	OffsetBegin  int64
    	OffsetEnd    int64
    	ResourceSize int64
    }
    
    func (e InvalidRange) Error() string {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 09 02:05:14 GMT 2024
    - 22.1K bytes
    - Click Count (0)
  6. cmd/post-policy_test.go

    	var buf bytes.Buffer
    	w := multipart.NewWriter(&buf)
    
    	// Set the normal formData
    	for k, v := range formData {
    		w.WriteField(k, v)
    	}
    	// Set the File formData but don't if we want send an incomplete multipart request
    	if !corruptedMultipart {
    		var writer io.Writer
    		var err error
    		if noFilename {
    			writer, err = w.CreateFormField("file")
    		} else {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

        protected void validate(C context) throws Exception {
            if (context.invokerRequest.parsingFailed()) {
                // in case of parser errors: report errors and bail out; invokerRequest contents may be incomplete
                // in case of mvnsh the context.logger != context.invokerRequest.parserRequest.logger
                List<Logger.Entry> entries =
                        context.invokerRequest.parserRequest().logger().drain();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlinx/coroutines/JobSupport;->attachChild(Lkotlinx/coroutines/ChildJob;)Lkotlinx/coroutines/ChildHandle;
    HSPLkotlinx/coroutines/JobSupport;->completeStateFinalization(Lkotlinx/coroutines/Incomplete;Ljava/lang/Object;)V
    HSPLkotlinx/coroutines/JobSupport;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Add an uncommitted entry. This will get detected on initialization, and the cache will
        // attempt to delete the file. Do not explicitly close the cache here so the entry is left as
        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
        // Simulate a severe Filesystem failure on the first initialization.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  10. cmd/erasure-object.go

    	go func() {
    		pw.CloseWithError(er.getObjectWithFileInfo(ctx, bucket, object, off, length, pw, fi, metaArr, onlineDisks))
    	}()
    
    	// Cleanup function to cause the go routine above to exit, in
    	// case of incomplete read.
    	pipeCloser := func() {
    		pr.CloseWithError(nil)
    	}
    
    	if !unlockOnDefer {
    		return fn(pr, h, pipeCloser, nsUnlocker)
    	}
    
    	return fn(pr, h, pipeCloser)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
Back to Top