Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 246 for toDate (0.16 sec)

  1. android/guava/src/com/google/common/primitives/Floats.java

       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Floats.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(float[] array, int distance) {
        rotate(array, distance, 0, array.length);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
                ArtifactRepository remoteRepository = remoteRepository();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.buildCache
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import okhttp3.okio.LoggingFilesystem
    import okhttp3.testing.PlatformRule
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

            } else if (type == BigInteger.class) {
                return BigIntegerConversionUtil.toBigInteger(o);
            } else if (type == Byte.class) {
                return ByteConversionUtil.toByte(o);
            }
            return o;
        }
    
        /**
         * 指定されたプリミティブ型に対応するラッパー型に変換して返します。
         *
         * @param type
         *            プリミティブ型
         * @param o
         *            変換元のオブジェクト
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Ints.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(int[] array, int distance) {
        rotate(array, distance, 0, array.length);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. cmd/tier-journal.go

    		return nil
    	}
    
    	return errors.New("no local drive found")
    }
    
    // rotate rotates the journal. If a read-only journal already exists it does
    // nothing. Otherwise renames the active journal to a read-only journal and
    // opens a new active journal.
    func (jd *tierDiskJournal) rotate() error {
    	// Do nothing if a read-only journal file already exists.
    	if _, err := os.Stat(jd.ReadOnlyPath()); err == nil {
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

    }
    
    private fun BufferedSource.skipWhitespace() {
      while (!exhausted()) {
        if (buffer[0] != ' '.code.toByte()) return
        skip(1L)
      }
    }
    
    private fun BufferedSource.skipRestOfLine() {
      when (val newline = indexOf('\n'.code.toByte())) {
        -1L -> skip(buffer.size) // Exhaust this source.
        else -> skip(newline + 1)
      }
    }
    
    class MappingListCodePointMapping(
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    
            boolean changed;
    
            // If file could not be found or was not valid, start from scratch
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/BooleansTest.java

        input = Arrays.copyOf(input, input.length);
        Booleans.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          boolean[] input, int distance, int fromIndex, int toIndex, boolean[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Booleans.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        input = Arrays.copyOf(input, input.length);
        Booleans.rotate(input, distance);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testRotate(
          boolean[] input, int distance, int fromIndex, int toIndex, boolean[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Booleans.rotate(input, distance, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top