Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 4,301 for main2 (0.04 sec)

  1. security/tools/generate_csr/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Provide a tool to generate X.509 CSR with different options.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"os"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/c/groovy/src/main/c/main.c

    #include "hello.h"
    
    int main () {
      hello();
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 59 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/flavors/groovy/src/main/cpp/main.cpp

    #include "hello.h"
    
    int main () {
      hello();
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 59 bytes
    - Viewed (0)
  4. src/cmd/link/testdata/testBuildFortvOS/main.m

    extern void GoFunc();
    
    int main(int argc, char **argv) {
    	GoFunc();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 23 15:31:01 UTC 2020
    - 70 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testplugin/testdata/issue44956/main.go

    // plugin2 is then loaded. base.init already ran, so it doesn't run
    // again. When base.stmp is not exported, plugin2's base.X points to
    // its own private base.stmp, which is not initialized, fail.
    
    package main
    
    import "plugin"
    
    func main() {
    	_, err := plugin.Open("issue44956p1.so")
    	if err != nil {
    		panic("FAIL")
    	}
    
    	p2, err := plugin.Open("issue44956p2.so")
    	if err != nil {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/runtime/testdata/testwinsignal/main.go

    package main
    
    import (
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"os/signal"
    	"syscall"
    	"time"
    )
    
    func main() {
    	// Ensure that this process terminates when the test times out,
    	// even if the expected signal never arrives.
    	go func() {
    		io.Copy(io.Discard, os.Stdin)
    		log.Fatal("stdin is closed; terminating")
    	}()
    
    	// Register to receive all signals.
    	c := make(chan os.Signal, 1)
    	signal.Notify(c)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 07:37:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. test/typeparam/issue48716.dir/main.go

    // Copyright 2021 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.
    
    package main
    
    import (
    	"./a"
    )
    
    // Creates copy of set
    func Copy[T comparable](src MapSet[T]) (dst MapSet[T]) {
    	dst = HashSet[T](src.Len())
    	Fill(src, dst)
    	return
    }
    
    // Fill src from dst
    func Fill[T any](src, dst MapSet[T]) {
    	src.Iterate(func(t T) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 1021 bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/main.go

    		return "false"
    	case ternaryFlagTrue:
    		return "true"
    	}
    	return "unset"
    }
    
    func (t *ternaryFlag) IsBoolFlag() bool { return true } // parse like a boolean flag
    
    // Main is the main entry point for the linker code.
    func Main(arch *sys.Arch, theArch Arch) {
    	log.SetPrefix("link: ")
    	log.SetFlags(0)
    	telemetry.Start()
    	telemetry.Inc("link/invocations")
    
    	thearch = theArch
    	ctxt := linknew(arch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/objective-cpp/groovy/src/main/objcpp/main.mm

    #import "greeter.h"
    
    int main (int argc, const char * argv[])
    {
        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    
        Greeter *greeter = [Greeter new];
        [greeter sayHello];
        [greeter release];
    
        [pool drain];
    
        return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 249 bytes
    - Viewed (0)
  10. samples/jwt-server/src/main.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"net"
    	"net/http"
    	"os"
    	"os/signal"
    	"sync"
    	"syscall"
    	"time"
    )
    
    const (
    	// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 16 23:56:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top