Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 678 for main (0.14 sec)

  1. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    // This file is here just to cause problems.
    // main.swig turns into a file also named main.go.
    // Make sure cmd/go keeps them separate
    // when both are passed to cgo.
    
    package main
    
    //int F(void) { return 1; }
    import "C"
    import (
    	"fmt"
    	"os"
    )
    
    func F() int { return int(C.F()) }
    
    func main() {
    	if x := int(C.F()); x != 1 {
    		fatal("x = %d, want 1", x)
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 975 bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/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 (
    	"bytes"
    	"encoding/binary"
    	"encoding/hex"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"path/filepath"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/google/uuid"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  3. cni/cmd/install-cni/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"context"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"istio.io/istio/cni/pkg/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	// Create context that cancels on termination signal
    	ctx, cancel := context.WithCancel(context.Background())
    	sigChan := make(chan os.Signal, 1)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.2K 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)
    	}
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 02:37:48 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. .github/actions/notify-translations/app/main.py

            comment_id=comment_id,
            body=body,
        )
        response = UpdateCommentResponse.parse_obj(data)
        return response.data.updateDiscussionComment.comment
    
    
    if __name__ == "__main__":
        settings = Settings()
        if settings.input_debug:
            logging.basicConfig(level=logging.DEBUG)
        else:
            logging.basicConfig(level=logging.INFO)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/swig/testdata/callback/main.h

    Austin Clements <******@****.***> 1683216807 -0400
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 529 bytes
    - Viewed (0)
  7. docs_src/settings/app03_an_py39/main.py

    Sebastián Ramírez <******@****.***> 1698179166 +0400
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 462 bytes
    - Viewed (0)
  8. .github/actions/people/app/main.py

    def get_top_users(
        *,
        counter: Counter,
        authors: Dict[str, Author],
        skip_users: Container[str],
        min_count: int = 2,
    ):
        users = []
        for commenter, count in counter.most_common(50):
            if commenter in skip_users:
                continue
            if count >= min_count:
                author = authors[commenter]
                users.append(
                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/Main.kt

    internal fun SmartPrinter.printCopyright() {
        println(COPYRIGHT)
        println()
    }
    
    internal fun SmartPrinter.printGeneratedMessage() {
        println(GeneratorsFileUtil.GENERATED_MESSAGE)
        println()
    }
    
    
    fun main() {
        val rootPath = Paths.get("analysis/analysis-api-fir/src").toAbsolutePath()
        val packageName = "org.jetbrains.kotlin.analysis.api.fir.diagnostics"
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Nov 16 14:27:49 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. docs_src/settings/app02_an/main.py

    Sebastián Ramírez <******@****.***> 1698179166 +0400
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 456 bytes
    - Viewed (0)
Back to top