代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/233448/4683351
c 20030716-1.c
/* APPLE LOCAL testsuite nested functions */
/* { dg-options "-fnested-functions" } */
void baz(int i);
void foo(int i, int A[i+1])
{
int j=A[i];
void bar() { baz(A[i]); }
}
www.eeworm.com/read/233448/4685580
c attr-nest.c
/* { dg-do compile } */
#define ATTR_PRINTF __attribute__ ((format (printf, 1, 2)))
#define ATTR_USED __attribute__ ((used))
void bar (int, ...);
/* gcc would segfault on the nested attribute. */
www.eeworm.com/read/219901/4844416
java registereduser.java
package com.wrox.expertj2ee.ticket.customer;
import java.io.Serializable;
/**
* Simple target object for data binding. Includes
* two Address nested properties.
*
* @since Jan 7, 2003
www.eeworm.com/read/193974/5138186
py badsyntax_future3.py
"""This is a test"""
from __future__ import nested_scopes
from __future__ import rested_snopes
def f(x):
def g(y):
return x + y
return g
print f(2)(4)
www.eeworm.com/read/190666/5173055
c access8.c
// Build don't link:
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 10 Feb 2000
// Test that access to static members from a nested class of th
www.eeworm.com/read/190666/5175450
c 900107_01.c
// g++ 1.36.1 bug 900107_01
// Unlike GCC and Cfront 2.0, the g++ 1.36.1 compiler gives struct, union,
// and class declarations which are nested within blocks file scope.
// Cfront 2.0 passes this
www.eeworm.com/read/190666/5175479
c template33.c
// Test nested enums in templates.
// Build don't link:
template
class A
{
public:
enum muni {X, Y};
muni e() { return X; };
muni f();
};
template
typename A::muni A
www.eeworm.com/read/190666/5175552
c anon3.c
// Bug: g++ dies.
// Build don't link:
class cl {
public:
cl();
void set(void *, char *, int);
private:
union {
float vf;
struct ff { // ERROR - nested class in anonymous union
vo