代码搜索:implicit
找到约 5,250 项符合「implicit」的源代码
代码结果 5,250
www.eeworm.com/read/305277/3778910
scala bug550.scala
abstract class Monoid[a] {
def unit: a
}
object test {
def sum[a](xs: List)(implicit m: Monoid[a]): a =
if (xs.isEmpty) m.unit else xs.head
sum(List(1,2,3))
}
www.eeworm.com/read/292144/3956101
install-sh
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creati
www.eeworm.com/read/292144/3958462
install-sh
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creati
www.eeworm.com/read/273665/4199679
install-sh
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creati
www.eeworm.com/read/447892/1693859
mak unzip_cr.mak
.AUTODEPEND
# *Translator Definitions*
CC = bcc +UNZIP_CR.CFG
TASM = TASM
TLINK = tlink
# *Implicit Rules*
.c.obj:
$(CC) -c {$< }
.cpp.obj:
$(CC) -c {$< }
# *List Macros*
EXE_dependencie
www.eeworm.com/read/443386/1743508
makefile
#
# Makefile for the linux/parisc floating point code
#
# See arch/parisc/math-emu/README
CFLAGS += -Wno-parentheses -Wno-implicit-function-declaration \
-Wno-uninitialized -Wno-strict-prototypes -W
www.eeworm.com/read/440906/1774430
c dllimport5.c
// { dg-do compile { target i?86-*-cygwin* i?86-*-mingw*} }
// Report error if static symbol definition has dllimport attribute.
__attribute__((dllimport))
int impvar; // OK, implicit "extern"
www.eeworm.com/read/440906/1774934
c typename2.c
// { dg-do compile }
// { dg-options "" }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 21 Mar 2002
// PR 5507. Overzealous implicit
www.eeworm.com/read/440906/1775242
c comdat3.c
// Test that duplicate elimination of implicit instantiations of static
// data members works properly.
// Additional sources: comdat3-aux.cc
// Additional files: comdat3.h
#include "comdat3.h"
int