Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 5,346 for Appendf (0.28 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/CacheVersionTest.groovy

            CacheVersion.of(2) > CacheVersion.of(1, 1)
            CacheVersion.of(1, 1) < CacheVersion.of(2)
        }
    
        def "appends component"() {
            expect:
            CacheVersion.empty().append(42) == CacheVersion.of(42)
            CacheVersion.of(42).append(23) == CacheVersion.of(42, 23)
            CacheVersion.of(42, 23).append(14) == CacheVersion.of(42, 23, 14)
        }
    
        def "copies input array"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/strconv/atob.go

    func FormatBool(b bool) string {
    	if b {
    		return "true"
    	}
    	return "false"
    }
    
    // AppendBool appends "true" or "false", according to the value of b,
    // to dst and returns the extended buffer.
    func AppendBool(dst []byte, b bool) []byte {
    	if b {
    		return append(dst, "true"...)
    	}
    	return append(dst, "false"...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 09 01:26:25 UTC 2018
    - 974 bytes
    - Viewed (0)
  3. src/internal/zstd/window.go

    	}
    	if to > dataLen {
    		to -= dataLen
    		wrap = !wrap
    	}
    
    	if wrap {
    		buf = append(buf, w.data[from:]...)
    		return append(buf, w.data[:to]...)
    	} else {
    		return append(buf, w.data[from:to]...)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:49:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
          boolean append = false;
          for (String comp : components) {
            if (append) {
              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  5. test/fixedbugs/notinheap3.go

    func g() {
    	// Test aggregate writes
    	v1 = t1{x: nil} // no barrier
    	v2 = t2{x: nil} // ERROR "write barrier"
    }
    
    func h() {
    	// Test copies and appends.
    	copy(v1s, v1s[1:])      // no barrier
    	copy(v2s, v2s[1:])      // ERROR "write barrier"
    	_ = append(v1s, v1s...) // no barrier
    	_ = append(v2s, v2s...) // ERROR "write barrier"
    }
    
    // Slice clearing
    
    var (
    	sliceIH  []*ih
    	sliceNIH []*nih
    )
    
    func sliceClear() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 17:46:15 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    		panic(b.err)
    	}
    	return b.result[b.offset:]
    }
    
    // AddUint8 appends an 8-bit value to the byte string.
    func (b *Builder) AddUint8(v uint8) {
    	b.add(byte(v))
    }
    
    // AddUint16 appends a big-endian, 16-bit value to the byte string.
    func (b *Builder) AddUint16(v uint16) {
    	b.add(byte(v>>8), byte(v))
    }
    
    // AddUint24 appends a big-endian, 24-bit value to the byte string. The highest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
          boolean append = false;
          for (String comp : components) {
            if (append) {
              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  8. pkg/structured/structured.go

    	// Err is the original error string.
    	Err error
    }
    
    // Log appends relevant labels to the log scope.
    func (e *Error) Log(s *log.Scope) *log.Scope {
    	lbls := make([]any, 0, 10)
    	if e.MoreInfo != "" {
    		lbls = append(lbls, "moreInfo", e.MoreInfo)
    	}
    	if e.Impact != "" {
    		lbls = append(lbls, "impact", e.Impact)
    	}
    	if e.Action != "" {
    		lbls = append(lbls, "action", e.Action)
    	}
    	if e.LikelyCause != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/reconciler_helpers.go

    type slicesByAction struct {
    	toCreate, toUpdate, toDelete []*discovery.EndpointSlice
    }
    
    // append appends slices from another slicesByAction struct.
    func (s *slicesByAction) append(slices slicesByAction) {
    	s.toCreate = append(s.toCreate, slices.toCreate...)
    	s.toUpdate = append(s.toUpdate, slices.toUpdate...)
    	s.toDelete = append(s.toDelete, slices.toDelete...)
    }
    
    // totalsByAction includes total numbers for added and removed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-child.xml

            <configuration>
              <defaults>
                <parent>child</parent>
                <child>child</child>
              </defaults>
              <appends combine.children="append">
                <parent>child</parent>
                <child>child</child>
              </appends>
              <overrides combine.self="override">
                <parent>child</parent>
                <child>child</child>
              </overrides>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Nov 07 15:16:39 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top