Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 199 for 0L (0.01 sec)

  1. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      fun mockWebServer() {
        val mockWebServer = MockWebServer()
        var port: Int = mockWebServer.getPort()
        mockWebServer.setServerSocketFactory(ServerSocketFactory.getDefault())
        mockWebServer.setBodyLimit(0L)
        mockWebServer.setProtocolNegotiationEnabled(false)
        mockWebServer.setProtocols(listOf(Protocol.HTTP_1_1))
        var requestCount: Int = mockWebServer.getRequestCount()
      }
    
      @Test @Disabled
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

                                    throw e;
                                }
                            }
                            if ( n <= 0 ) {
                                return (int) ( ( this.fp - start ) > 0L ? this.fp - start : -1 );
                            }
                            this.fp += n;
                            off += n;
                            len -= n;
                            continue;
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

    import java.util.Date;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComQueryInformationResponse extends ServerMessageBlock implements Info {
    
        private int fileAttributes = 0x0000;
        private long lastWriteTime = 0L;
        private long serverTimeZoneOffset;
        private int fileSize = 0;
    
        SmbComQueryInformationResponse( long serverTimeZoneOffset ) {
            this.serverTimeZoneOffset = serverTimeZoneOffset;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt

        assertThat(builder["e"]).isNull()
      }
    
      @Test fun builderSetOperator() {
        val builder = Headers.Builder()
        builder["a"] = "b"
        builder["c"] = "d"
        builder["e"] = Date(0L)
        builder["g"] = Instant.EPOCH
        assertThat(builder["a"]).isEqualTo("b")
        assertThat(builder["c"]).isEqualTo("d")
        assertThat(builder["e"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

    /**
     * 大文字小文字を気にしない {@link Set}です。
     *
     * @author higa
     */
    public class CaseInsensitiveSet extends AbstractSet<String> implements Set<String>, Serializable {
    
        static final long serialVersionUID = 0L;
    
        private transient Map<String, Object> map = new CaseInsensitiveMap<>();
    
        private static final Object PRESENT = new Object();
    
        /**
         * {@link CaseInsensitiveSet}を作成します。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

       */
      var isParallel = false
    
      /** Number of calls to [TaskRunner.Backend.execute]. Guarded by [TaskRunner.lock]. */
      var executeCallCount = 0
    
      /** Guarded by [taskRunner]. */
      var nanoTime = 0L
        private set
    
      /** Backlog of tasks to run. Only one task runs at a time. Guarded by [TaskRunner.lock]. */
      private val serialTaskQueue = ArrayDeque<SerialTask>()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
            file.open( openFlags, access, SmbFile.ATTR_NORMAL, options );
            readSize = file.tree.session.transport.rcv_buf_size - 70;
            writeSize = file.tree.session.transport.snd_buf_size - 70;
            fp = 0L;
        }
    
        public int read() throws SmbException {
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Dfs.java

        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L);
    
        protected CacheEntry _domains = null; /* aka trusted domains cache */
        protected CacheEntry referrals = null;
    
        public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      }
    
      private fun logWithTime(message: String) {
        val startNs = startNs
        val timeMs =
          if (startNs == null) {
            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
          }
    
        logger.invoke("[$timeMs ms] $message")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeLong(0L).writeLong(it).readByteArray(),
            )
          }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top