Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 3,339 for code2 (0.02 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    /**
     * An adverse action to take on a socket, intended to exercise failure modes in the calling code.
     */
    public sealed interface SocketEffect {
      /**
       * Close the TCP socket that carries this request.
       *
       * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0.
       */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/annotation/Secured.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Java 5 annotation for describing service layer security attributes.
     *
     * <p>
     * The <code>Secured</code> annotation is used to define a list of security configuration
     * attributes for business methods.
     * <p>
     * For example:
     *
     * <pre>
     * &#064;Secured({ &quot;ROLE_USER&quot; })
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/ArtifactFilterManager.java

     * ArtifactFilterManager
     */
    @Deprecated
    public interface ArtifactFilterManager {
        /**
         * Returns a filter for core + extension artifacts.
         *
         * @return the artifact filter
         * @deprecated use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core and plugin
         *             extensions.
         */
        @Deprecated
        ArtifactFilter getArtifactFilter();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. regression-test/README.md

    ```
    $ adb logcat '*:E' OkHttp:D Http2:D TestRunner:D TaskRunner:D OkHttpTest:D GnssHAL_GnssInterface:F DeviceStateChecker:F memtrack:F
    ...
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AABwAAQ}
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyStart
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 13 07:09:56 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("onMessage: " + text);
      }
    
      @Override public void onClosing(WebSocket webSocket, int code, String reason) {
        webSocket.close(1000, null);
        System.out.println("onClose (" + code + "): " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        // TODO(jwilson): can I read the response body? Do I have to?
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

    import org.apache.commons.jxpath.ri.model.NodeIterator;
    import org.apache.commons.jxpath.ri.model.NodePointer;
    import org.apache.maven.api.xml.XmlNode;
    
    /**
     * An attribute iterator for JXPath to support <code>Xpp3Dom</code>.
     *
     */
    class Xpp3DomAttributeIterator implements NodeIterator {
    
        private NodePointer parent;
    
        private XmlNode node;
    
        private List<Map.Entry<String, String>> attributes;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/archive/zip/example_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt

       * body on another thread.
       *
       * Note that transport-layer success (receiving a HTTP response code, headers and body) does not
       * necessarily indicate application-layer success: `response` may still indicate an unhappy HTTP
       * response code like 404 or 500.
       */
      @Throws(IOException::class)
      fun onResponse(
        call: Call,
        response: Response,
      )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

    /**
     * Simple utility for when you want to create a {@link TearDown} that may throw an exception but
     * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
     * varies; see its documentation for details.) Use it just like a {@code TearDown}, except override
     * {@link #sloppyTearDown()} instead.
     *
     * @author Luiz-Otavio Zorzella
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

              exhaustRequest()
            }
        server.enqueue(socketHandler.upgradeResponse())
    
        client
          .newCall(request)
          .execute()
          .use { response ->
            assertThat(response.code).isEqualTo(HTTP_SWITCHING_PROTOCOLS)
            val socket = response.socket!!
            socket.sink.buffer().use { sink ->
              socket.source.buffer().use { source ->
                sink.writeUtf8("client says hello\n")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top