Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1941 - 1950 of 2,330 for junit (0.02 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         * The precision of this field is seconds; further precision will be truncated.
         */
        fun duration(
          duration: Long,
          unit: TimeUnit,
        ) = apply {
          val now = System.currentTimeMillis()
          validityInterval(now, now + unit.toMillis(duration))
        }
    
        /**
         * Adds a subject alternative name (SAN) to the certificate. This is usually a literal hostname,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        3 -> UTF_16LE
        4 -> UTF_32BE
        -1 -> default
        else -> throw AssertionError()
      }
    
    internal fun checkDuration(
      name: String,
      duration: Long,
      unit: TimeUnit,
    ): Int {
      check(duration >= 0L) { "$name < 0" }
      val millis = unit.toMillis(duration)
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || duration <= 0L) { "$name too small" }
      return millis.toInt()
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        require(index in mappings.indices) { "unexpected code point: $codePoint" }
    
        val mapping = mappings[index]
        var result = true
    
        when (mapping.type) {
          TYPE_IGNORED -> Unit
          TYPE_MAPPED, TYPE_DISALLOWED_STD3_MAPPED -> {
            sink.write(mapping.mappedTo)
          }
    
          TYPE_DEVIATION, TYPE_DISALLOWED_STD3_VALID, TYPE_VALID -> {
            sink.writeUtf8CodePoint(codePoint)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.entity;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.dbflute.utflute.mocklet.MockletHttpServletRequest;
    
    public class GeoInfoTest extends UnitFessTestCase {
    
        public void test_34_150_10() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessSystemExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withMessage() {
            // Test constructor with message only
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

    import org.codelibs.fess.opensearch.config.exbhv.JobLogBhv;
    import org.codelibs.fess.opensearch.config.exentity.JobLog;
    import org.codelibs.fess.opensearch.config.exentity.ScheduledJob;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.job.LaCron;
    
    public class JobHelperTest extends UnitFessTestCase {
    
        private JobHelper jobHelper;
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.taglib;
    
    import java.util.Date;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessFunctionsTest extends UnitFessTestCase {
        public void test_formatNumber() {
            assertEquals("0", FessFunctions.formatNumber(0, "###,###"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.util.concurrent.TimeUnit
    
    class ClientRuleEventListener(
      val delegate: EventListener = NONE,
      var logger: (String) -> Unit,
    ) : EventListener(),
      EventListener.Factory {
      private var startNs: Long? = null
    
      override fun create(call: Call): EventListener = this
    
      override fun callStart(call: Call) {
        startNs = System.nanoTime()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/resources/extractor/eml/sample4.eml

    Mittwoch, dem 22.06.2016
    eine Exkursion nach Baruth / Glashütte durch.
    Der Präsident
    Abteilung I -
    Studierendenservice
    Akademisches Auslandsamt
    Betreuung Internationaler Studierender
    Sekretariat ID 42
    Straße des 17. Juni 135
    10623 Berlin
    Frau Rabe
    Raum H 054
    Telefon +49 (0)30 314-24411
    Telefax +49 (0)30 314-24067
    ******@****.***
    Unser Zeichen:  ID 42
    25.05.2016
    Workshop Nr. 1:
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jan 07 09:15:11 UTC 2018
    - 681K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

    import org.apache.lucene.analysis.synonym.SynonymMap;
    import org.apache.lucene.analysis.synonym.WordnetSynonymParser;
    import org.opensearch.common.settings.Settings;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.env.Environment;
    import org.opensearch.index.analysis.Analysis;
    
    public class SynonymLoader {
        private File reloadableFile = null;
    
        private final Analyzer analyzer;
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
Back to top