<commit_before>/* go-new.c -- the generic go new() function.

   Copyright 2009 The Go Authors. All rights reserved.
   Use of this source code is governed by a BSD-style
   license that can be found in the LICENSE file.  */

#include "go-alloc.h"
#include "runtime.h"
#include "malloc.h"

void *
__go_new (size_t size)
{
  return __go_alloc (size);
}

void *
__go_new_nopointers (size_t size)<commit_msg>Permit garbage collection on any compiler generated memory allocation.<commit_after>/* go-new.c -- the generic go new() function.

   Copyright 2009 The Go Authors. All rights reserved.
   Use of this source code is governed by a BSD-style
   license that can be found in the LICENSE file.  */

#include "go-alloc.h"
#include "runtime.h"
#include "malloc.h"

void *
__go_new (size_t size)
{
  return runtime_mallocgc (size, 0, 1, 1);
}

void *
__go_new_nopointers (size_t size)
{'fraction_non_alphanumeric': 0.09977324263038549, 'fraction_numerical': 0.012471655328798186, 'mean_word_length': 3.72192513368984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2321618', 'n_tokens_mistral': 305, 'n_tokens_neox': 288, 'n_words': 112}