Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 428 for Temp (0.05 sec)

  1. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy

            def sourceFile = temp.testDirectory.file("Sample.java")
            sourceFile.text = source
    
            def compiler = ("javax.tools.ToolProvider" as Class).getSystemJavaCompiler()
            def fileManager = compiler.getStandardFileManager(null, null, null);
    
            def location = ("javax.tools.StandardLocation" as Class).CLASS_OUTPUT
            fileManager.setLocation(location, [temp.testDirectory]);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/IoTestCase.java

      }
    
      /**
       * Creates a new temp dir for testing. The returned directory and all contents of it will be
       * deleted in the tear-down for this test.
       */
      protected final File createTempDir() throws IOException {
        File tempFile = File.createTempFile("IoTestCase", "");
        if (!tempFile.delete() || !tempFile.mkdir()) {
          throw new IOException("failed to create temp dir");
        }
        filesToDelete.add(tempFile);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/diagnostics/DaemonDiagnosticsTest.groovy

    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.junit.Rule
    import spock.lang.Specification
    
    class DaemonDiagnosticsTest extends Specification {
    
        @Rule TestNameTestDirectoryProvider temp = new TestNameTestDirectoryProvider(getClass())
    
        def "tailing the daemon log is always safe"() {
            given:
            def diagnostics = new DaemonDiagnostics(new File("does not exist"), 123)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/modelRules/modelDslCoercion/groovy/build.gradle

    }
    
    class ItemRules extends RuleSource {
       @Model
       void item(Item item) {
          def data = item.dataFile.text.trim()
          def (name, quantity, price, temp) = data.split(',')
          item.name = name
          item.quantity = quantity
          item.price = price
          item.temperature = temp
       }
    
       @Defaults
       void setDefaults(Item item) {
          item.dataFile = 'data.csv'
       }
    
       @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

                    .version("3.8.1")
                    .artifactId("foo")
                    .repositories(Collections.singletonList(Repository.newBuilder()
                            .url("file://localhost/${basedir}/temp-repo")
                            .build()))
                    .build();
    
            ModelInterpolator interpolator = createInterpolator();
    
            final SimpleProblemCollector collector = new SimpleProblemCollector();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. 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)
  7. src/crypto/x509/root_unix_test.go

    func TestReadUniqueDirectoryEntries(t *testing.T) {
    	tmp := t.TempDir()
    	temp := func(base string) string { return filepath.Join(tmp, base) }
    	if f, err := os.Create(temp("file")); err != nil {
    		t.Fatal(err)
    	} else {
    		f.Close()
    	}
    	if err := os.Symlink("target-in", temp("link-in")); err != nil {
    		t.Fatal(err)
    	}
    	if err := os.Symlink("../target-out", temp("link-out")); err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

      }
    
      std::vector<int64_t> FlatbufferVecToMlirVec(const flexbuffers::Vector& vec) {
        std::vector<int64_t> temp(vec.size(), 0);
        for (int i = 0; i < vec.size(); i++) {
          temp[i] = vec[i].AsInt64();
        }
        return temp;
      }
    
      llvm::SmallVector<mlir::NamedAttribute, 4> ReadAttr(const flexbuffers::Map& m,
                                                          Builder* builder,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/pprof.go

    			return
    		}
    		if err := blockb.Flush(); err != nil {
    			http.Error(w, fmt.Sprintf("failed to flush temp file: %v", err), http.StatusInternalServerError)
    			return
    		}
    		if err := blockf.Close(); err != nil {
    			http.Error(w, fmt.Sprintf("failed to close temp file: %v", err), http.StatusInternalServerError)
    			return
    		}
    		svgFilename := blockf.Name() + ".svg"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. 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)
Back to top