Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for stpcpy (0.14 sec)

  1. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -			- 1))						      \
    -		  : __stpcpy (dest, src)))
    -#   endif
    +# ifndef _HAVE_STRING_ARCH_stpcpy
    +#  define __stpcpy(dest, src) __builtin_stpcpy (dest, src)
     /* In glibc we use this function frequently but for namespace reasons
        we have to use the name `__stpcpy'.  */
    -#   define stpcpy(dest, src) __stpcpy (dest, src)
    -#  endif
    +#  define stpcpy(dest, src) __stpcpy (dest, src)
    +# endif
     
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  2. test/strcopy.go

    Brad Fitzpatrick <******@****.***> 1528820198 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 19:10:34 UTC 2018
    - 674 bytes
    - Viewed (0)
  3. test/cmplxdivide.c

    	static char buf[10][30];
    	static int n;
    	char *p;
    
    	p = buf[n++];
    	if(n == 10) {
    		n = 0;
    	}
    
    	sprintf(p, "%g", g);
    
    	if(strcmp(p, "0") == 0) {
    		strcpy(p, "zero");
    		return p;
    	}
    
    	if(strcmp(p, "-0") == 0) {
    		strcpy(p, "-zero");
    		return p;
    	}
    
    	return p;
    }
    
    int main(void) {
    	int i, j, k, l;
    	double complex n, d, q;
    
    	printf("// skip\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 22:45:17 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  4. pkg/ctrlz/assets/static/css/all.css

        .sidebar {
            font-size: 100%
        }
    }
    
    @supports (position: -webkit-sticky) or (position: sticky) {
        .sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 3.7rem;
            z-index: 1000
        }
    }
    
    @supports (position: -webkit-sticky) or (position: sticky) {
        .sidebar .directory {
            max-height: calc(100vh - 9rem)
        }
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  5. test/fixedbugs/bug111.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var ncall int;
    
    type Iffy interface {
    	Me() Iffy
    }
    
    type Stucky struct {
    	n int
    }
    
    func (s *Stucky) Me() Iffy {
    	ncall++;
    	return s
    }
    
    func main() {
    	s := new(Stucky);
    	i := s.Me();
    	j := i.Me();
    	j.Me();
    	if ncall != 3 {
    		panic("bug111")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 427 bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        final int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  7. src/os/sticky_bsd.go

    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || (js && wasm) || netbsd || openbsd || solaris || wasip1
    
    package os
    
    // According to sticky(8), neither open(2) nor mkdir(2) will create
    // a file with the sticky bit set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 425 bytes
    - Viewed (0)
  8. src/runtime/cgo/gcc_util.c

    	So we choose strncpy(_, _, 0): it requires an extra header,
    	but it's standard and should be very efficient.
    
    	GCC 7 has an unfortunate habit of optimizing out strncpy calls (see
    	https://golang.org/issue/21196), so the arguments here need to be global
    	variables with external linkage in order to ensure that the call traps all the
    	way down into libc.
    	*/
    	strncpy(&x_cgo_yield_strncpy_dst, &x_cgo_yield_strncpy_src,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 18:49:38 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        final int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    	printf("var errors = [...]string {\n");
    	qsort(errors, nelem(errors), sizeof errors[0], intcmp);
    	for(i=0; i<nelem(errors); i++) {
    		e = errors[i];
    		if(i > 0 && errors[i-1] == e)
    			continue;
    		strcpy(buf, strerror(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    		if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
    			buf[0] += a - A;
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (2)
Back to top