Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for srcFile (0.05 seconds)

  1. internal/ioutil/append-file_nix.go

    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := os.Open(src)
    	if err != nil {
    		return err
    	}
    	defer srcFile.Close()
    	_, err = io.Copy(appendFile, srcFile)
    	return err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  2. internal/ioutil/append-file_windows.go

    	appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := lock.Open(src, os.O_RDONLY, 0o666)
    	if err != nil {
    		return err
    	}
    	defer srcFile.Close()
    	_, err = io.Copy(appendFile, srcFile)
    	return err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.2K bytes
    - Click Count (0)
  3. okhttp/build.gradle.kts

        consumerProguardFiles("okhttp3.pro")
      }
    
      testOptions {
        unitTests {
          isIncludeAndroidResources = true
        }
      }
    
      sourceSets {
        named("main") {
          manifest.srcFile("src/androidMain/AndroidManifest.xml")
          assets.srcDir("src/androidMain/assets")
        }
      }
    }
    
    // From https://github.com/Kotlin/kotlinx-atomicfu/blob/master/atomicfu/build.gradle.kts
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

         * @param srcFiles the mapping of relative path to the file
         */
        private
        fun zip(destZip: File, srcFiles: List<Pair<String, File>>) {
            if (srcFiles.isEmpty()) {
                return
            }
            destZip.parentFile.mkdirs()
            ZipOutputStream(FileOutputStream(destZip), StandardCharsets.UTF_8).use { zipOutput ->
                srcFiles.forEach { (relativePath: String, file: File) ->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
  5. .github/workflows/pylint-presubmit.yml

            pip install pylint==2.13.9 numpy wheel
        - name: Run PyLint on changed files
          run: |
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. docs/debugging/s3-verify/main.go

    	}
    
    	var sourceFailed, targetFailed bool
    	var wg sync.WaitGroup
    
    	wg.Add(2)
    	go func() {
    		defer wg.Done()
    		srcSize, err := io.Copy(srcSha256, sobj)
    		if err != nil {
    			fmt.Printf("unreadable on source: %s (%s)\n", srcCtnt.Key, err)
    			sourceFailed = true
    		} else if srcSize != srcCtnt.Size {
    			fmt.Printf("unreadable on source - size differs upon read: %s\n", srcCtnt.Key)
    			sourceFailed = true
    		}
    	}()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Click Count (0)
  7. ci/official/utilities/code_check_changed_files.bats

        grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
            python -m pylint --rcfile=tensorflow/tools/ci_build/pylintrc --score false \
            | grep -v "**** Module" \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
        [[ ! -s $BATS_TEST_TMPDIR/needs_help.txt ]]
    }
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Click Count (0)
  8. CONTRIBUTING.md

    Use `pylint` to check your Python changes. To install `pylint` and check a file
    with `pylint` against TensorFlow's custom style definition:
    
    ```bash
    pip install pylint
    pylint --rcfile=tensorflow/tools/ci_build/pylintrc myfile.py
    ```
    
    Note `pylint --rcfile=tensorflow/tools/ci_build/pylintrc` should run from the
    top level tensorflow directory.
    
    #### Coding style for other languages
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top