Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 653 for copied32 (0.15 sec)

  1. test/copy.go

    	}
    	// before
    	var i int
    	for i = 0; i < out; i++ {
    		if output32[i] != u32(i+13) {
    			bad32("before32", i, length, in, out)
    			return
    		}
    	}
    	// copied part
    	for ; i < out+n; i++ {
    		if output32[i] != u32(i+in-out) {
    			bad32("copied32", i, length, in, out)
    			return
    		}
    	}
    	// after
    	for ; i < len(output32); i++ {
    		if output32[i] != u32(i+13) {
    			bad32("after32", i, length, in, out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 6.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/util/fuzz_test.go

    		empty2 := &networking.TrafficPolicy{}
    		copied = mergeTrafficPolicy(empty2, copied, true)
    		assert.Equal(fg.T(), copyFrom, copied)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 20:32:49 UTC 2024
    - 1.8K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toWriter_fromReader() throws IOException {
        StringWriter writer = new StringWriter();
        long copied = CharStreams.copy(new StringReader(ASCII), writer);
        assertEquals(ASCII, writer.toString());
        assertEquals(ASCII.length(), copied);
    
        StringWriter writer2 = new StringWriter();
        copied = CharStreams.copy(new StringReader(I18N), writer2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toWriter_fromReader() throws IOException {
        StringWriter writer = new StringWriter();
        long copied = CharStreams.copy(new StringReader(ASCII), writer);
        assertEquals(ASCII, writer.toString());
        assertEquals(ASCII.length(), copied);
    
        StringWriter writer2 = new StringWriter();
        copied = CharStreams.copy(new StringReader(I18N), writer2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/subst.go

    }
    
    func (subst *subster) tuple(t *Tuple) *Tuple {
    	if t != nil {
    		if vars, copied := subst.varList(t.vars); copied {
    			return &Tuple{vars: vars}
    		}
    	}
    	return t
    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/go/types/subst.go

    }
    
    func (subst *subster) tuple(t *Tuple) *Tuple {
    	if t != nil {
    		if vars, copied := subst.varList(t.vars); copied {
    			return &Tuple{vars: vars}
    		}
    	}
    	return t
    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/sync/cond.go

    func (c *copyChecker) check() {
    	// Check if c has been copied in three steps:
    	// 1. The first comparison is the fast-path. If c has been initialized and not copied, this will return immediately. Otherwise, c is either not initialized, or has been copied.
    	// 2. Ensure c is initialized. If the CAS succeeds, we're done. If it fails, c was either initialized concurrently and we simply lost the race, or c has been copied.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/v1beta3/conversion.go

    	//  - remove the roundtrip annotation for the 'NominalConcurrencyShares' field
    	//  - make sure we don't mutate the source (v1beta3) object's annotations
    	annotations, copied := dropPriorityLevelConcurrencyShareDefaultAnnotation(out.ObjectMeta.Annotations)
    	if copied {
    		out.ObjectMeta.Annotations = annotations
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/DefaultDomainObjectCollection.java

            // is empty.
            Collection<T> copied = null;
            for (T t : this) {
                if (copied == null) {
                    copied = Lists.newArrayListWithExpectedSize(estimatedSize());
                }
                copied.add(t);
            }
            if (copied != null) {
                for (T t : copied) {
                    decoratedAction.execute(t);
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top