Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 478 for Temp (0.17 sec)

  1. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          File temp = TempFileCreator.INSTANCE.createTempFile("FileBackedOutputStream");
          if (resetOnFinalize) {
            // Finalizers are not guaranteed to be called on system shutdown;
            // this is insurance.
            temp.deleteOnExit();
          }
          try {
            FileOutputStream transfer = new FileOutputStream(temp);
            transfer.write(memory.getBuffer(), 0, memory.getCount());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. subprojects/core-api/src/test/groovy/org/gradle/initialization/BuildLayoutParametersTest.groovy

    import static org.gradle.internal.FileUtils.canonicalize
    
    class BuildLayoutParametersTest extends Specification {
    
        @Rule SetSystemProperties props = new SetSystemProperties()
        @Rule TestNameTestDirectoryProvider temp = new TestNameTestDirectoryProvider(getClass())
    
        @Requires(UnitTestPreconditions.NotEC2Agent)
        @Issue('https://github.com/gradle/gradle-private/issues/2876')
        def "has reasonable defaults"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/resource/local/GroupedAndNamedUniqueFileStoreTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.resource.local
    
    import org.gradle.api.internal.file.temp.DefaultTemporaryFileProvider
    import org.gradle.api.internal.file.temp.TemporaryFileProvider
    import org.gradle.internal.file.FileAccessTimeJournal
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 02 16:14:10 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  4. internal/config/identity/tls/config.go

    	// MinIO verifies the client certificate present by the client
    	// when requesting temp. credentials.
    	// By default, MinIO always verify the client certificate.
    	//
    	// The client certificate verification should only be skipped
    	// when debugging or testing a setup since it allows arbitrary
    	// clients to obtain temp. credentials with arbitrary policy
    	// permissions - including admin permissions.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/diagnostics/DaemonLogFileUtilsTest.groovy

    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.junit.Rule
    import spock.lang.Specification
    
    class DaemonLogFileUtilsTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider temp = new TestNameTestDirectoryProvider(getClass())
    
        def "empty input produces specific output"() {
            expect:
            DaemonLogFileUtils.tail(log(""), 10) == "<<empty>>"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

    public class DoubleArrayAsListTest extends TestCase {
    
      private static List<Double> asList(Double[] values) {
        double[] temp = new double[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Doubles.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. pkg/volume/nfs/nfs_test.go

    	"k8s.io/kubernetes/pkg/volume"
    	volumetest "k8s.io/kubernetes/pkg/volume/testing"
    )
    
    func TestCanSupport(t *testing.T) {
    	tmpDir, err := utiltesting.MkTmpdir("nfs_test")
    	if err != nil {
    		t.Fatalf("error creating temp dir: %v", err)
    	}
    	defer os.RemoveAll(tmpDir)
    
    	plugMgr := volume.VolumePluginMgr{}
    	plugMgr.InitPlugins(ProbeVolumePlugins(volume.VolumeConfig{}), nil /* prober */, volumetest.NewFakeVolumeHost(t, tmpDir, nil, nil))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

    public class IntArrayAsListTest extends TestCase {
    
      private static List<Integer> asList(Integer[] values) {
        int[] temp = new int[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Ints.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

    public class LongArrayAsListTest extends TestCase {
    
      private static List<Long> asList(Long[] values) {
        long[] temp = new long[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Longs.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

    public class ShortArrayAsListTest extends TestCase {
    
      private static List<Short> asList(Short[] values) {
        short[] temp = new short[values.length];
        for (short i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Shorts.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top