Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3031 - 3040 of 6,186 for classe (0.11 sec)

  1. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class ApacheHttpClientTest {
      private val httpClient = HttpClients.createDefault()
    
      @AfterEach fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get(server: MockWebServer) {
        server.enqueue(
          MockResponse.Builder()
            .body("hello, Apache HttpClient 5.x")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeUnit;
    import okhttp3.Call;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class CancelCall {
      private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class CollectionForEachTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<E> elements = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

    import com.google.caliper.Param;
    import com.google.caliper.api.SkipThisScenarioException;
    import java.util.Random;
    
    /** A benchmark that tries invoking {@code Set.contains} on many different sets. */
    public class MultipleSetContainsBenchmark {
    
      @Param({"0.0", "0.1", "0.7", "1.0"})
      double emptySetProportion;
    
      @Param({"0.0", "0.1", "0.7", "1.0"})
      double singletonSetProportion;
    
      @Param({"0.2", "0.8"})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

     */
    package jcifs.internal.fscc;
    
    
    import java.nio.charset.StandardCharsets;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class FsctlPipeWaitRequest implements Encodable {
    
        private final byte[] nameBytes;
        private final long timeout;
        private final boolean timeoutSpecified;
    
    
        /**
         * @param name
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

     */
    package jcifs.internal.fscc;
    
    
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     *
     */
    public class SmbInfoAllocation implements AllocInfo {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
        private int sectPerAlloc;
        private int bytesPerSect;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

     */
    package jcifs.internal.smb2.ioctl;
    
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class ValidateNegotiateInfoRequest implements Encodable {
    
        private int capabilities;
        private byte[] clientGuid;
        private int securityMode;
        private int dialects[];
    
    
        /**
         * @param capabilities
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    
    /**
     * @author mbechler
     *
     */
    public class Smb2OplockBreakNotification extends ServerMessageBlock2Response {
    
        private byte oplockLevel;
        private byte[] fileId;
    
    
        /**
         * @param config
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

    import javax.security.auth.kerberos.KeyTab;
    import javax.security.auth.login.LoginContext;
    import javax.security.auth.login.LoginException;
    
    
    @SuppressWarnings ( "javadoc" )
    public class KerberosCredentials {
    
        private Subject subject;
    
    
        public KerberosCredentials () throws LoginException {
            this(System.getProperty("jaaslounge.sso.jaas.config"));
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    
    /**
     * {@link SAXParserFactoryUtil}のテストです。
     *
     * @author koichik
     */
    public class SAXParserFactoryUtilTest extends TestCase {
    
        boolean included;
    
        /**
         * {@link SAXParserFactoryUtil#setXIncludeAware}のテストです。
         *
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top