Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for dst (0.02 sec)

  1. internal/s3select/json/preader.go

    func (r *PReader) nextSplit(skip int, dst []byte) ([]byte, error) {
    	if cap(dst) < skip {
    		dst = make([]byte, 0, skip+1024)
    	}
    	dst = dst[:skip]
    	if skip > 0 {
    		n, err := io.ReadFull(r.buf, dst)
    		if err != nil && err != io.ErrUnexpectedEOF {
    			// If an EOF happens after reading some but not all the bytes,
    			// ReadFull returns ErrUnexpectedEOF.
    			return dst[:n], err
    		}
    		dst = dst[:n]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. internal/s3select/json/record.go

    	if abs != 0 {
    		if abs < 1e-6 || abs >= 1e21 {
    			fmt = 'e'
    		}
    	}
    	dst = strconv.AppendFloat(dst, f, fmt, -1, 64)
    	if fmt == 'e' {
    		// clean up e-09 to e-9
    		n := len(dst)
    		if n >= 4 && dst[n-4] == 'e' && dst[n-3] == '-' && dst[n-2] == '0' {
    			dst[n-2] = dst[n-1]
    			dst = dst[:n-1]
    		}
    	}
    	return string(dst)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. internal/s3select/simdj/record.go

    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    		other = &Record{}
    	}
    	other.object = r.object
    	return other
    }
    
    // CloneTo clones the record to a json Record.
    // Values are only unmashaled on object level.
    func (r *Record) CloneTo(dst *json.Record) (sql.Record, error) {
    	if dst == nil {
    		dst = &json.Record{SelectFormat: sql.SelectFmtJSON}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        final char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
        Character.toChars(max, dst, 9);
        dst[11] = 'x';
        String test = new String(dst);
    
        // Get the expected result string
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        final char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
        Character.toChars(max, dst, 9);
        dst[11] = 'x';
        String test = new String(dst);
    
        // Get the expected result string
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
        arraycopy(src, offset, dst, 0, len);
        return dst;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. lib/wasm/wasm_exec.js

    					},
    
    					// func copyBytesToJS(dst ref, src []byte) (int, bool)
    					"syscall/js.copyBytesToJS": (sp) => {
    						sp >>>= 0;
    						const dst = loadValue(sp + 8);
    						const src = loadSlice(sp + 16);
    						if (!(dst instanceof Uint8Array || dst instanceof Uint8ClampedArray)) {
    							this.mem.setUint8(sp + 48, 0);
    							return;
    						}
    						const toCopy = src.subarray(0, dst.length);
    						dst.set(toCopy);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. utils/utils_test.go

    	}
    	for _, test := range assertEqualTests {
    		t.Run(test.name, func(t *testing.T) {
    			if out := AssertEqual(test.src, test.dst); test.out != out {
    				t.Errorf("AssertEqual(%v, %v) want: %t, got: %t", test.src, test.dst, test.out, out)
    			}
    		})
    	}
    }
    
    func TestToString(t *testing.T) {
    	tests := []struct {
    		name string
    		in   interface{}
    		out  string
    	}{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    		return nil, err
    	}
    
    	dst = append(dst, xlHeader[:]...)
    	dst = append(dst, xlVersionCurrent[:]...)
    	// Add "bin 32" type header to always have enough space.
    	// We will fill out the correct size when we know it.
    	dst = append(dst, 0xc6, 0, 0, 0, 0)
    	dataOffset := len(dst)
    
    	dst = msgp.AppendUint(dst, xlHeaderVersion)
    	dst = msgp.AppendUint(dst, xlMetaVersion)
    	dst = msgp.AppendInt(dst, len(x.versions))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. cni/pkg/iptables/testdata/hostprobe_ipv6.golden

    -N ISTIO_POSTRT
    -A POSTROUTING -j ISTIO_POSTRT
    -A ISTIO_POSTRT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes-v4 dst -j SNAT --to-source 169.254.7.127
    COMMIT
    * nat
    -N ISTIO_POSTRT
    -A POSTROUTING -j ISTIO_POSTRT
    -A ISTIO_POSTRT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes-v6 dst -j SNAT --to-source fd16:9254:7127:1337:ffff:ffff:ffff:ffff
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 399 bytes
    - Viewed (0)
Back to top