Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for GetTable (0.16 sec)

  1. pkg/util/iptables/testing/fake.go

    	f.hasRandomFully = can
    	return f
    }
    
    // EnsureChain is part of iptables.Interface
    func (f *FakeIPTables) EnsureChain(table iptables.Table, chain iptables.Chain) (bool, error) {
    	t, err := f.Dump.GetTable(table)
    	if err != nil {
    		return false, err
    	}
    	if c, _ := f.Dump.GetChain(table, chain); c != nil {
    		return true, nil
    	}
    	t.Chains = append(t.Chains, Chain{Name: chain})
    	return false, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            classContent.childNodes.each { Node n ->
                classSection << n
            }
    
            propertiesTable = getTable('Properties')
            propertiesSection = propertiesTable.parentNode
            methodsTable = getTable('Methods')
            methodsSection = methodsTable.parentNode
        }
    
        String getId() { return id }
    
        String getName() { return className }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  3. src/debug/gosym/pclntab_test.go

    	switch runtime.GOOS {
    	case "dragonfly", "freebsd", "linux", "netbsd", "openbsd", "solaris", "illumos":
    		// OK.
    	default:
    		t.Skipf("skipping on non-ELF system %s", runtime.GOOS)
    	}
    }
    
    func getTable(t *testing.T) *Table {
    	f, tab := crack(os.Args[0], t)
    	f.Close()
    	return tab
    }
    
    func crack(file string, t *testing.T) (*elf.File, *Table) {
    	// Open self
    	f, err := elf.Open(file)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/catalog/parser/TomlCatalogFileParser.java

                TomlTable metadataTable = result.getTable(METADATA_KEY);
                verifyMetadata(metadataTable);
                TomlTable librariesTable = result.getTable(LIBRARIES_KEY);
                TomlTable bundlesTable = result.getTable(BUNDLES_KEY);
                TomlTable versionsTable = result.getTable(VERSIONS_KEY);
                TomlTable pluginsTable = result.getTable(PLUGINS_KEY);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. pkg/util/iptables/testing/parse.go

    }
    
    func (dump *IPTablesDump) GetTable(table iptables.Table) (*Table, error) {
    	for i := range dump.Tables {
    		if dump.Tables[i].Name == table {
    			return &dump.Tables[i], nil
    		}
    	}
    	return nil, fmt.Errorf("no such table %q", table)
    }
    
    func (dump *IPTablesDump) GetChain(table iptables.Table, chain iptables.Chain) (*Chain, error) {
    	t, err := dump.GetTable(table)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. migrator/migrator.go

    		return &chk, stmt.Table
    	}
    
    	uniqueConstraints := stmt.Schema.ParseUniqueConstraints()
    	if uni, ok := uniqueConstraints[name]; ok {
    		return &uni, stmt.Table
    	}
    
    	getTable := func(rel *schema.Relationship) string {
    		switch rel.Type {
    		case schema.HasOne, schema.HasMany:
    			return rel.FieldSchema.Table
    		case schema.Many2Many:
    			return rel.JoinTable.Table
    		}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_edit.txt

    ! stdout .
    cmpenv go.mod $WORK/go.mod.goodfmt
    
    # go mod edit -module
    cd $WORK/m
    go mod init a.a/b/c
    go mod edit -module x.x/y/z
    cmpenv go.mod go.mod.edit
    
    # golang.org/issue/30513: don't require go-gettable module paths.
    cd $WORK/local
    go mod init foo
    go mod edit -module local-only -require=other-local@v1.0.0 -replace other-local@v1.0.0=./other
    cmpenv go.mod go.mod.edit
    
    # go mod edit -godebug
    cd $WORK/g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. pkg/dns/proto/nds.pb.go

    }
    
    // Deprecated: Use NameTable.ProtoReflect.Descriptor instead.
    func (*NameTable) Descriptor() ([]byte, []int) {
    	return file_dns_proto_nds_proto_rawDescGZIP(), []int{0}
    }
    
    func (x *NameTable) GetTable() map[string]*NameTable_NameInfo {
    	if x != nil {
    		return x.Table
    	}
    	return nil
    }
    
    type NameTable_NameInfo struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. test/typeparam/settable.go

    Robert Griesemer <******@****.***> 1645769500 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:48:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. src/net/tcpsockopt_openbsd.go

    func setKeepAliveIdle(_ *netFD, d time.Duration) error {
    	if d < 0 {
    		return nil
    	}
    	// OpenBSD has no user-settable per-socket TCP keepalive
    	// options.
    	return syscall.ENOPROTOOPT
    }
    
    func setKeepAliveInterval(_ *netFD, d time.Duration) error {
    	if d < 0 {
    		return nil
    	}
    	// OpenBSD has no user-settable per-socket TCP keepalive
    	// options.
    	return syscall.ENOPROTOOPT
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 759 bytes
    - Viewed (0)
Back to top