Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,223 for main2 (0.21 sec)

  1. pkg/test/fakes/gce_metadata_server/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 (
    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"github.com/gorilla/mux"
    )
    
    const (
    	projID     = "test-project"
    	projNumber = "123456789"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. analysis/analysis-api-standalone/analysis-api-standalone-native/testData/nativeSessionBuilder/resolveAgainstNativeKLib/src/main.kt

    import nativeKLib.nativeKLibFunction
    
    fun main() {
        nativeKLibFunction("aaa")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 16 13:31:53 UTC 2023
    - 82 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/variants/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)
  7. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    // Copyright 2023 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 (
    	"cmp"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"slices"
    	"text/tabwriter"
    
    	"internal/trace/event"
    	"internal/trace/raw"
    )
    
    func init() {
    	flag.Usage = func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/src/main/cpp/main.cpp

    #include <iostream>
    #include "version.hpp"
    #include "util.h"
    
    int main () {
      std::cout << "Built with Boost version: " << BOOST_LIB_VERSION << std::endl;
      printBuildType();
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 189 bytes
    - Viewed (0)
  9. docs/debugging/xattr/main.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"encoding/binary"
    	"errors"
    	"flag"
    	"fmt"
    	"log"
    	"os"
    
    	"github.com/olekukonko/tablewriter"
    	"github.com/pkg/xattr"
    )
    
    var (
    	path, name string
    	value      uint64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/runtime/testdata/testwinlib/main.c

        {
            unhandledCount++;
            return EXCEPTION_CONTINUE_EXECUTION;
        }
        return EXCEPTION_CONTINUE_SEARCH;
    }
    
    void throwFromC()
    {
        DebugBreak();
    }
    int main()
    {
        // simulate a "lazily" attached debugger, by calling some go code before attaching the exception/continue handler
        Dummy();
        exceptionCount = 0;
        continueCount = 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top