Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 158 for toDate (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 931 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        input = Arrays.copyOf(input, input.length);
        Doubles.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          double[] input, int distance, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/ResourcePublicSuffixList.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import okio.FileSystem
    import okio.Path
    import okio.Path.Companion.toPath
    import okio.Source
    
    internal class ResourcePublicSuffixList(
      override val path: Path = PUBLIC_SUFFIX_RESOURCE,
      val fileSystem: FileSystem = FileSystem.Companion.RESOURCES,
    ) : BasePublicSuffixList() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. .github/workflows/translate.yml

                pyproject.toml
          - name: Install Dependencies
            run: uv pip install -r requirements-github-actions.txt -r requirements-translations.txt
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
            if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
            with:
              limit-access-to-actor: true
            env:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Longs.asList(array),
       * distance)}, but is considerably faster and avoids allocation and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(long[] array, int distance) {
        rotate(array, distance, 0, array.length);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

    private fun isMappedIpv4Address(address: ByteArray): Boolean {
      if (address.size != 16) return false
    
      for (i in 0 until 10) {
        if (address[i] != 0.toByte()) return false
      }
    
      if (address[10] != 255.toByte()) return false
      if (address[11] != 255.toByte()) return false
    
      return true
    }
    
    /** Encodes an IPv4 address in canonical form according to RFC 4001. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        @Override
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
                    Files.createDirectories(result.toPath().getParent());
                    Files.copy(current.toPath(), result.toPath());
                }
                ArtifactRepository localRepo = new MetadataRepository(result);
                metadata.storeInLocalRepository(localRepo, localRepo);
                merged = true;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/IntsTest.java

        input = Arrays.copyOf(input, input.length);
        Ints.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          int[] input, int distance, int fromIndex, int toIndex, int[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Ints.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /** Confirm we get the expected table whether we build it from the .txt file or compact that. */
    class IdnaMappingTableTest {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

    import okio.Path
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slow")
    class OsgiTest {
      private lateinit var testResourceDir: Path
      private lateinit var workspaceDir: Path
    
      @BeforeEach
      fun setUp() {
        testResourceDir = "./build/resources/test/okhttp3/osgi".toPath()
        workspaceDir = testResourceDir / "workspace"
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top