代码搜索:Local
找到约 10,000 项符合「Local」的源代码
代码结果 10,000
www.eeworm.com/read/340665/3274188
c local3.c
extern "C" void abort();
template
void f(T)
{
int j;
j = 6;
struct S {
int i;
};
S s;
s.i = j;
if (s.i != 6)
abort();
}
int main()
{
f(7);
}
www.eeworm.com/read/340665/3274230
c local4.c
extern "C" void abort();
template
struct S {};
S si;
template
int f(T t)
{
struct S {
int g(int i) { return i + 2; }
};
S s;
return s.g(t) + s.g(t);
}
int
www.eeworm.com/read/340665/3274234
c local2.c
extern "C" void abort();
template
void f(T)
{
struct S {
int i;
} s;
s.i = 3;
if (s.i != 3)
abort();
}
int main()
{
f(7);
}
www.eeworm.com/read/340665/3274428
c local6.c
extern "C" void abort();
template
int f(T)
{
struct S1 {
virtual int foo() { return 1; }
};
struct S2 : public S1 {
int foo() { return 2; }
};
S1* s2 = new S2;
return
www.eeworm.com/read/340665/3274462
c local1.c
template inline STRUCT *
setback(MEMBER *bp, MEMBER STRUCT::*offset)
{
if(!bp) return 0;
union { int i; MEMBER STRUCT::*of; } u;
u.of = offset;
www.eeworm.com/read/340665/3274683
c local5.c
template
class b
{
private:
char a(int x)
{
union {
int i;
char c;
} val;
val.i = x;
return val.c;
};
public:
b() {
}
};
int main() {
b n;
www.eeworm.com/read/339586/3298175
h ares_local.h
#ifndef ARES_LOCAL__H
#define ARES_LOCAL__H
/*
** Define a suite of callbacks that can return locally configured DNS results.
** Very useful for testing or simulation.
**
** Returns 0 when unable to h
www.eeworm.com/read/339586/3298189
c ares_local.c
#include "ares.h"
#include "ares_local.h"
int ares_local_gethostbyname(ares_channel channel, const char *name, int family,
ares_host_callback callback, void *arg)
{
www.eeworm.com/read/337546/3336554
h nv_local.h
/***************************************************************************\
|* *|
|* Copyright 1993-2003 NVIDIA, Corpo