Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for va_start (0.17 sec)

  1. src/runtime/cgo/gcc_fatalf.c

    #include <stdarg.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include "libcgo.h"
    
    void
    fatalf(const char* format, ...)
    {
    	va_list ap;
    
    	fprintf(stderr, "runtime/cgo: ");
    	va_start(ap, format);
    	vfprintf(stderr, format, ap);
    	va_end(ap);
    	fprintf(stderr, "\n");
    	abort();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 14:57:16 UTC 2023
    - 526 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    static jmp_buf jmp;
    static char* nullPointer;
    
    // An arbitrary function which requires proper stack alignment; see
    // http://golang.org/issue/17641.
    static void callWithVarargs(void* dummy, ...) {
    	va_list args;
    	va_start(args, dummy);
    	va_end(args);
    }
    
    // Signal handler for SIGSEGV on a C thread.
    static void segvHandler(int signo, siginfo_t* info, void* ctxt) {
    	sigset_t mask;
    	int i;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/StringsTest.java

      public void testPadStart_noPadding() {
        assertSame("", Strings.padStart("", 0, '-'));
        assertSame("x", Strings.padStart("x", 0, '-'));
        assertSame("x", Strings.padStart("x", 1, '-'));
        assertSame("xx", Strings.padStart("xx", 0, '-'));
        assertSame("xx", Strings.padStart("xx", 2, '-'));
      }
    
      public void testPadStart_somePadding() {
        assertEquals("-", Strings.padStart("", 1, '-'));
        assertEquals("--", Strings.padStart("", 2, '-'));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/value_iostream.h

        o << ": ";
        o << x.second;
        o << ", ";
      }
      o << "}";
      return o;
    }
    template <class IT>
    inline std::ostream& OutList(std::ostream& o, IT v_start, IT const v_end,
                                 char start, char end) {
      o << start;
      for (IT p = v_start; p != v_end; ++p) {
        o << *p;
        o << ", ";
      }
      o << end;
      return o;
    }
    
    class TaggedValueIOStreamVisitor {
      std::ostream& o_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. src/runtime/rt0_aix_ppc64.s

    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    #include "asm_ppc64x.h"
    
    // _rt0_ppc64_aix is a function descriptor of the entrypoint function
    // __start. This name is needed by cmd/link.
    DEFINE_PPC64X_FUNCDESC(_rt0_ppc64_aix, __start<>)
    
    // The starting function must return in the loader to
    // initialise some libraries, especially libthread which
    // creates the main thread and adds the TLS in R13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 22:20:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. src/cmd/trace/jsontrace.go

    	opts.tasks = task.Descendents()
    	slices.SortStableFunc(opts.tasks, func(a, b *trace.UserTaskSummary) int {
    		aStart, bStart := parsed.startTime(), parsed.startTime()
    		if a.Start != nil {
    			aStart = a.Start.Time()
    		}
    		if b.Start != nil {
    			bStart = b.Start.Time()
    		}
    		if a.Start != b.Start {
    			return cmp.Compare(aStart, bStart)
    		}
    		// Break ties with the end time.
    		aEnd, bEnd := parsed.endTime(), parsed.endTime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc

          auto fbb = std::make_unique<flexbuffers::Builder>();
          size_t map_start = fbb->StartMap();
          for (const NamedAttribute& pair : composite.getCompositeAttributes()) {
            // Allows skipping unsupported attributes, will warn.
            (void)BuildOption(fbb.get(), op, pair);
          }
          fbb->EndMap(map_start);
          fbb->Finish();
          custom_option_buffer.assign(fbb->GetBuffer().begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/codegen.cc

      const size_t temp_bytes_total = TotalBufferBytes(buffer_infos_for_temps);
    
      // Create rewrite strings for namespace start and end.
      string ns_start;
      for (const string& n : opts.namespaces) {
        ns_start += absl::StrCat("namespace ", n, " {\n");
      }
      ns_start += "\n";
      string ns_end("\n");
      for (int i = opts.namespaces.size() - 1; i >= 0; --i) {
        const string& n = opts.namespaces[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        rescale(currentScale * (e.deltaY < 0 ? 1.1 : (1/1.1)),
                toSvg(e.offsetX, e.offsetY));
      }
    
      function setMode(m) {
        mode = m;
        touchid = null;
        touchid2 = null;
      }
    
      function panStart(x, y) {
        moved = false;
        panLastX = x;
        panLastY = y;
      }
    
      function panMove(x, y) {
        let dx = x - panLastX;
        let dy = y - panLastY;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelTypeInitializationException.java

                    s.append(String.format("%n    %s- %s", padding, modelType.getName()));
                }
            }
        }
    
        private static String pad(int padding) {
            return Strings.padStart("", padding * 4, ' ');
        }
    
        private static boolean isScalarCollection(ModelType<?> propertyType, boolean declaredAsHavingUnmanagedType) {
            Class<?> concreteClass = propertyType.getConcreteClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top