Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 383 for createfing (0.19 sec)

  1. internal/ioutil/ioutil_test.go

    			t.Errorf("Case %d: Got wrong result: %v", i, string(b))
    		}
    	}
    }
    
    func TestSameFile(t *testing.T) {
    	f, err := os.CreateTemp("", "")
    	if err != nil {
    		t.Errorf("Error creating tmp file: %v", err)
    	}
    	tmpFile := f.Name()
    	f.Close()
    	defer os.Remove(f.Name())
    	fi1, err := os.Stat(tmpFile)
    	if err != nil {
    		t.Fatalf("Error Stat(): %v", err)
    	}
    	fi2, err := os.Stat(tmpFile)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/os/os_windows_test.go

    	// Create a file whose name contains unpaired surrogates.
    	// Use syscall.CreateFile instead of os.Create to simulate a file that is created by
    	// a non-Go program so the file name hasn't gone through syscall.UTF16FromString.
    	dirw := utf16.Encode([]rune(dir))
    	pathw := append(dirw, namew...)
    	fd, err := syscall.CreateFile(&pathw[0], syscall.GENERIC_ALL, 0, nil, syscall.CREATE_NEW, 0, 0)
    	if err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/Striped64.java

       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Striped64.java

       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (2)
  5. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.h

    // StableHLO MLIR module.
    //
    // Args:
    //  input_path: The path to the input TensorFlow SavedModel or MLIR module.
    //  context: The MLIR context to use for parsing or creating the MLIR module.
    //  exported_model_signatures: List of exported model signatures (strings) to
    //    convert.
    //  tag_names: List of tag names (strings) used for loading SavedModel.
    //    Ignored for MLIR input.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Striped64.java

       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. pkg/scheduler/scheduler.go

    	parallelism:                       int32(parallelize.DefaultParallelism),
    	// Ideally we would statically set the default profile here, but we can't because
    	// creating the default profile may require testing feature gates, which may get
    	// set dynamically in tests. Therefore, we delay creating it until New is actually
    	// invoked.
    	applyDefaultProfile: true,
    }
    
    // New returns a Scheduler
    func New(ctx context.Context,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Striped64.java

       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy

            where:
            jarDirectory << ['other', 'other/plugins']
        }
    
        private void createJarFile(TestFile jar) {
            TestFile contents = tmpDir.createDir('contents')
            TestFile classFile = contents.createFile('org/gradle/MyClass.class')
    
            ClassNode classNode = new ClassNode()
            classNode.version = Opcodes.V1_6
            classNode.access = Opcodes.ACC_PUBLIC
            classNode.name = 'org/gradle/MyClass'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt

        fileName: String,
        text: String,
        fileSystem: VirtualFileSystem = MockVirtualFileSystem(),
    ): VirtualFile {
        val factory = KtPsiFactory(project, markGenerated = false)
        val ktFile = factory.createFile(fileName, text)
    
        return object : VirtualFile() {
            override fun getFileSystem(): VirtualFileSystem = fileSystem
    
            override fun getName(): String = fileName
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top