Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,265 for Calling (0.12 sec)

  1. src/cmd/cgo/internal/test/callback_c_gc.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build gc
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    extern void _cgo_allocate(void *, int);
    
    void
    callPanic(void)
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 592 bytes
    - Viewed (0)
  2. src/errors/wrap.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package errors
    
    import (
    	"internal/reflectlite"
    )
    
    // Unwrap returns the result of calling the Unwrap method on err, if err's
    // type contains an Unwrap method returning error.
    // Otherwise, Unwrap returns nil.
    //
    // Unwrap only calls a method of the form "Unwrap() error".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:04 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. pkg/apis/batch/fuzzer/fuzzer.go

    	return []interface{}{
    		func(j *batch.Job, c fuzz.Continue) {
    			c.FuzzNoCustom(j) // fuzz self without calling this function again
    
    			// match defaulting
    			if len(j.Labels) == 0 {
    				j.Labels = j.Spec.Template.Labels
    			}
    		},
    		func(j *batch.JobSpec, c fuzz.Continue) {
    			c.FuzzNoCustom(j) // fuzz self without calling this function again
    			completions := int32(c.Rand.Int31())
    			parallelism := int32(c.Rand.Int31())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ArtifactRepositoryContainer.java

    /**
     * <p>A {@code ResolverContainer} is responsible for managing a set of {@link ArtifactRepository} instances. Repositories are arranged in a sequence.</p>
     *
     * <p>You can obtain a {@code ResolverContainer} instance by calling {@link org.gradle.api.Project#getRepositories()} or
     * using the {@code repositories} property in your build script.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 06 22:26:55 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. src/flag/export_test.go

    import (
    	"io"
    	"os"
    )
    
    // Additional routines compiled into the package only during testing.
    
    var DefaultUsage = Usage
    
    // ResetForTesting clears all flag state and sets the usage function as directed.
    // After calling ResetForTesting, parse errors in flag handling will not
    // exit the program.
    func ResetForTesting(usage func()) {
    	CommandLine = NewFlagSet(os.Args[0], ContinueOnError)
    	CommandLine.SetOutput(io.Discard)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 09:29:14 UTC 2022
    - 653 bytes
    - Viewed (0)
  6. src/log/slog/level.go

    	return fmt.Sprintf("LevelVar(%s)", v.Level())
    }
    
    // MarshalText implements [encoding.TextMarshaler]
    // by calling [Level.MarshalText].
    func (v *LevelVar) MarshalText() ([]byte, error) {
    	return v.Level().MarshalText()
    }
    
    // UnmarshalText implements [encoding.TextUnmarshaler]
    // by calling [Level.UnmarshalText].
    func (v *LevelVar) UnmarshalText(data []byte) error {
    	var l Level
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:34:43 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/file/FileCollection.java

         * @return The filtered collection.
         */
        FileCollection filter(Spec<? super File> filterSpec);
    
        /**
         * Returns true if this collection is empty. Generally, calling this method is more efficient than calling {@code
         * getFiles().isEmpty()}.
         *
         * @return true if this collection is empty, false otherwise.
         */
        boolean isEmpty();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 05 15:51:59 UTC 2021
    - 8.3K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/provider/Property.java

         * querying of the provider and the obtained value will be set as the final value of the property. The value of the
         * provider will not be tracked further.
         * </p>
         *
         * <p>
         * Note that although the value of the property will not change, the value itself may be a mutable object. Calling
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue22822.go

    // errorcheck
    
    // Copyright 2018 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.
    
    // Check that calling a function shadowing a built-in provides a good
    // error message.
    
    package main
    
    func F() {
    	slice := []int{1, 2, 3}
    	_ = slice
    	len := int(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 639 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testshared/testdata/issue30768/x_test.go

    package issue30768_test
    
    import (
    	"testing"
    
    	"testshared/issue30768/issue30768lib"
    )
    
    type s struct {
    	s issue30768lib.S
    }
    
    func Test30768(t *testing.T) {
    	// Calling t.Log will convert S to an empty interface,
    	// which will force a reference to the generated hash function,
    	// defined in the shared library.
    	t.Log(s{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 487 bytes
    - Viewed (0)
Back to top