Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 170 for fileSystem (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     */
    internal fun FileSystem.isCivilized(file: Path): Boolean {
      sink(file).use {
        try {
          delete(file)
          return true
        } catch (_: IOException) {
        }
      }
      delete(file)
      return false
    }
    
    /** Delete file we expect but don't require to exist. */
    internal fun FileSystem.deleteIfExists(path: Path) {
      try {
        delete(path)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedChmod.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.filesystem.services;
    
    import net.rubygrapefruit.platform.file.PosixFiles;
    import org.gradle.internal.file.FileModeMutator;
    
    import java.io.File;
    
    class NativePlatformBackedChmod implements FileModeMutator {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

    import java.net.InetSocketAddress
    import java.net.UnknownHostException
    import java.util.Arrays
    import java.util.concurrent.ThreadFactory
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.FileSystem
    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.api.Assumptions.assumeTrue
    
    object TestUtil {
      @JvmField
      val UNREACHABLE_ADDRESS_IPV4 = InetSocketAddress("198.51.100.1", 8080)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    // implements BlockVolumeMapper or filesystem volume which implements
    // DeviceMounter
    func getDeviceMountPath(gvi *globalVolumeInfo) (string, error) {
    	if gvi.blockVolumeMapper != nil {
    		// for block gvi, we return its global map path
    		return gvi.blockVolumeMapper.GetGlobalMapPath(gvi.volumeSpec)
    	} else if gvi.deviceMounter != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

     */
    
    package org.gradle.internal.cc.impl
    
    import com.google.common.primitives.Bytes
    import groovy.transform.EqualsAndHashCode
    import groovy.transform.ToString
    import org.gradle.internal.nativeintegration.filesystem.FileSystem
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.UnitTestPreconditions
    import org.gradle.testfixtures.internal.NativeServicesTestFixture
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FallbackFileMetadataAccessor.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.filesystem.services;
    
    import org.gradle.api.UncheckedIOException;
    import org.gradle.internal.file.FileMetadata;
    import org.gradle.internal.file.FileMetadata.AccessType;
    import org.gradle.internal.file.FileMetadataAccessor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/services/FallbackFileMetadataAccessorTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.filesystem.services
    
    import org.gradle.internal.file.AbstractFileMetadataAccessorTest
    import org.gradle.internal.file.FileMetadata
    import org.gradle.internal.file.FileMetadataAccessor
    import org.gradle.util.UsesNativeServices
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. pkg/util/filesystem/util_unix.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package filesystem
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    )
    
    // IsUnixDomainSocket returns whether a given file is a AF_UNIX socket file
    func IsUnixDomainSocket(filePath string) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/EmptyChmod.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.filesystem.services;
    
    import org.gradle.internal.file.FileModeMutator;
    
    import java.io.File;
    import java.io.FileNotFoundException;
    
    class EmptyChmod implements FileModeMutator {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. pkg/volume/volume.go

    	// underlying storage. For Volumes that share a filesystem with the host
    	// (e.g. emptydir, hostpath) this is the size of the underlying storage,
    	// and will not equal Used + Available as the fs is shared.
    	Capacity *resource.Quantity
    
    	// Available represents the storage space available (bytes) for the
    	// Volume. For Volumes that share a filesystem with the host (e.g.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top