Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,314 for copiedS (0.14 sec)

  1. test/typeparam/issue39755.go

    // compile
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // copied from cmd/compile/internal/types2/testdata/fixedbugs/issue39755.go
    
    package p
    
    func _[T interface{ ~map[string]int }](x T) {
    	_ = x == nil
    }
    
    // simplified test case from issue
    
    type PathParamsConstraint interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 593 bytes
    - Viewed (0)
  2. pkg/volume/metrics_cached.go

    		md.resultMetrics, md.resultError = md.wrapped.GetMetrics()
    		return md.resultError
    	})
    	return md.resultMetrics, md.resultError
    }
    
    // Copied from sync.Once but we don't want to cache the results if there is an
    // error
    type cacheOnce struct {
    	m    sync.Mutex
    	done uint32
    }
    
    // Copied from sync.Once but we don't want to cache the results if there is an
    // error
    func (o *cacheOnce) cache(f func() error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/resources/org/gradle/api/tasks/copyTestResources/src/two/ignore/bad.file

    this should not be copied...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 15 21:14:41 UTC 2012
    - 25 bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

            then:
            succeeds("showBuildscript")
            // A jar coming from some file repo is copied into the transformation cache and served from there.
            inArtifactTransformCache("test-1.3-BUILD-SNAPSHOT.jar")
            // A jar coming from remote repo is cached in the global modules cache and served from there.
            // It isn't copied into the transformation cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. pkg/file/file_test.go

    		t.Fatal(err)
    	}
    	f, err := os.Open(filepath.Join(d, "out"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	m, _ := f.Stat()
    	// Mode should be copied
    	assert.Equal(t, m.Mode(), 0o750)
    
    	body, _ := io.ReadAll(f)
    	// Contents should be copied
    	assert.Equal(t, body, []byte("hello world"))
    }
    
    func TestCopy(t *testing.T) {
    	copyTest(t, Copy)
    }
    
    func TestAtomicCopy(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 19:10:54 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DuplicateHandlingCopyActionExecutorTest.groovy

            outputEventListener.toString().contains("[WARN] [org.gradle.api.internal.file.copy.DuplicateHandlingCopyActionDecorator] file 'path/file1.txt' will be copied to '/root/path/file1.txt', overwriting file 'path/file1.txt', which has already been copied there.")
        }
    
    
        def duplicatesWarnByPerFileConfiguration() {
            given:
            files 'path/file1.txt', 'path/file2.txt', 'path/file1.txt'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object_test.go

    	}
    
    	if object.deepCopied != false {
    		t.Errorf("object deep-copied without the need")
    	}
    
    	object.SetResourceVersion("123")
    	if object.deepCopied != false {
    		t.Errorf("object deep-copied on no-op change")
    	}
    	object.SetResourceVersion("234")
    	if object.deepCopied != true {
    		t.Errorf("object not deep-copied on change")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 15:26:38 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
       * Copies the contents of this byte source to the given {@code OutputStream}. Does not close
       * {@code output}.
       *
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs while reading from this source or writing to {@code
       *     output}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/compose.go

    		}
    	}
    }
    
    // ClearVariants removes any variants previously added, including those
    // copied from a Tag in SetTag.
    func (b *Builder) ClearVariants() {
    	b.variants = b.variants[:0]
    }
    
    // ClearExtensions removes any extensions previously added, including those
    // copied from a Tag in SetTag.
    func (b *Builder) ClearExtensions() {
    	b.private = ""
    	b.extensions = b.extensions[:0]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/HashCode.java

          return hash == that.asLong();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is defensively copied to preserve the
       * immutability contract of {@code HashCode}. The array cannot be empty.
       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromBytes(byte[] bytes) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 12.6K bytes
    - Viewed (0)
Back to top