Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,218 for main1 (0.07 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForDependency/groovy/src/main/java/Main.java

    import org.apache.commons.beanutils.PropertyUtils;
    
    public class Main {
        public static void main(String[] args) throws Exception {
            Object person = new Person();
            PropertyUtils.setSimpleProperty(person, "name", "Bart Simpson");
            PropertyUtils.setSimpleProperty(person, "age", 38);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 313 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/application/groovy/src/main/java/org/gradle/sample/Main.java

    package org.gradle.sample;
    
    public class Main {
        public static void main(String[] args) {
            if (System.getProperty("greeting.language").equals("en")) {
                System.out.println("Greetings from the sample application.");
            } else {
                System.out.println("Bonjour, monde!");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 321 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/src/main/c/main.c

    #include <stdio.h>
    #include "sum.h"
    
    int main () {
      int x = sum(5, 7);
      printf("5 + 7 = %d\n", x);
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 115 bytes
    - Viewed (0)
  4. cni/cmd/istio-cni/main.go

    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    	"istio.io/istio/cni/pkg/plugin"
    	"istio.io/istio/pkg/log"
    	istioversion "istio.io/istio/pkg/version"
    )
    
    func main() {
    	if err := runPlugin(); err != nil {
    		os.Exit(1)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue19507.dir/main.go

    // license that can be found in the LICENSE file.
    
    // Make sure we can compile assembly with DIV and MOD in it.
    // They get rewritten to runtime calls on GOARM=5.
    
    package main
    
    func f(x, y uint32)
    
    func main() {
    	f(5, 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 349 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/c/main.c

    #include "platform.h"
    #include "stdio.h"
    
    int main(int argc, char** argv) {
      printf("Attributes of '%s' platform\n", platform_name);
      printf("Is Posix like?        %s\n", is_posix_like()?"true":"false");
      printf("Max Path Length:      %d bytes\n", max_path_length());
      printf("Max memory supported: %llu Kbytes\n", max_memory());
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 348 bytes
    - Viewed (0)
  7. src/cmd/vet/main.go

    	"golang.org/x/tools/go/analysis/passes/unreachable"
    	"golang.org/x/tools/go/analysis/passes/unsafeptr"
    	"golang.org/x/tools/go/analysis/passes/unusedresult"
    )
    
    func main() {
    	telemetry.Start()
    	objabi.AddVersionFlag()
    
    	telemetry.Inc("vet/invocations")
    	unitchecker.Main(
    		appends.Analyzer,
    		asmdecl.Analyzer,
    		assign.Analyzer,
    		atomic.Analyzer,
    		bools.Analyzer,
    		buildtag.Analyzer,
    		cgocall.Analyzer,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/trace/testdata/testprog/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    	"syscall"
    	"time"
    )
    
    func main() {
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatal(err)
    	}
    
    	// checkExecutionTimes relies on this.
    	var wg sync.WaitGroup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/toolingApi/runBuild/kotlin/src/main/java/org/gradle/sample/Main.java

    package org.gradle.sample;
    
    import org.gradle.tooling.BuildLauncher;
    import org.gradle.tooling.GradleConnector;
    import org.gradle.tooling.ProjectConnection;
    
    import java.io.File;
    
    public class Main {
        public static void main(String[] args) {
            // Configure the connector and create the connection
            GradleConnector connector = GradleConnector.newConnector();
    
            if (args.length > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. operator/cmd/operator/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 (
    	"os"
    
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	log.EnableKlogWithCobra()
    	rootCmd := getRootCmd(os.Args[1:])
    
    	if err := rootCmd.Execute(); err != nil {
    		os.Exit(-1)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 02 03:03:35 UTC 2024
    - 785 bytes
    - Viewed (0)
Back to top