Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,411 for addKind (0.12 sec)

  1. src/runtime/cgo/gcc_aix_ppc64.c

    }
    
    static void libinit(void) __attribute__ ((constructor));
    
    /*
     * libinit aims to replace .init_array section which isn't available on aix.
     * Using __attribute__ ((constructor)) let gcc handles this instead of
     * adding special code in cmd/link.
     * However, it will be called for every Go programs which has cgo.
     * Inside _rt0_ppc64_aix_lib(), runtime.isarchive is checked in order
     * to know if this program is a c-archive or a simple cgo program.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/log/slog/record_test.go

    	// Ensure that r1.back's capacity exceeds its length.
    	b := make([]Attr, len(r1.back), len(r1.back)+1)
    	copy(b, r1.back)
    	r1.back = b
    	// Make a copy that shares state.
    	r2 := r1
    	// Adding to both should insert a special Attr in the second.
    	r1AttrsBefore := attrsSlice(r1)
    	r1.AddAttrs(Int("p", 0))
    	r2.AddAttrs(Int("p", 1))
    	check(r1, append(slices.Clip(r1AttrsBefore), Int("p", 0)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 15:10:55 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> {
      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockStore.java

        
        /**
         * Reads a block from this store.
         */
        <T extends BlockPayload> T read(BlockPointer pos, Class<T> payloadType);
    
        /**
         * Writes a block to this store, adding the block if required.
         */
        void write(BlockPayload block);
    
        /**
         * Adds a new block to this store. Allocates space for the block, but does not write the contents of the block
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/global-dependencies.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="15"
        {!> ../../../docs_src/dependencies/tutorial012.py!}
        ```
    
    And all the ideas in the section about [adding `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} still apply, but in this case, to all of the *path operations* in the app.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/ConfigurationReportsImpl.java

    import org.gradle.api.tasks.diagnostics.configurations.ConfigurationReports;
    
    import javax.inject.Inject;
    
    /**
     * Default implementation of {@link ConfigurationReports} which allows for adding and configuring reports.
     *
     * Class must by non-{@code final}.
     */
    public class ConfigurationReportsImpl extends TaskReportContainer<ConfigurableReport> implements ConfigurationReports {
        @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 28 21:08:41 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            then:
            output.indexOf('initscript2!') < output.indexOf('initscript1!')
            configurationCache.assertStateStored()
        }
    
        def "invalidates cache upon adding init script to command line"() {
    
            given:
            def initScript1 = file('initscript1.gradle.kts').tap {
                text = 'println("initscript1!")'
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_lazy_import_allmod.txt

    # and the dependency on c is eagerly loaded.
    
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod.orig go.mod
    
    go list -m all
    stdout '^a v0.1.0 '
    stdout '^b v0.1.0 '
    stdout '^c v0.1.0 '
    
    # After adding a new import of b/y,
    # the import of c from b/y should resolve to the version required by b.
    
    cp m.go m.go.orig
    cp m.go.new m.go
    go mod tidy
    cmp go.mod.new go.mod
    
    go list -m all
    stdout '^a v0.1.0 '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 17 13:54:10 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    // the new line is added after the block containing hint
    // (or hint itself, if not in a block).
    //
    // If no hint is provided, addLine appends the line to the end of
    // the last block with a matching first token,
    // or to the end of the file if no such block exists.
    func (x *FileSyntax) addLine(hint Expr, tokens ...string) *Line {
    	if hint == nil {
    		// If no hint given, add to the last statement of the given type.
    	Loop:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. test/fixedbugs/issue19275.go

    }
    
    //go:noinline
    func (s *SI) test(name string) (*int, error) {
    	n := new(int)
    	*n = 99
    	if err := addUpdate(n, s.M[name].Enabled, "enabled"); err != nil { // this was miscompiled
    		return nil, fmt.Errorf(" error adding update for enable flag %t : %s",
    			s.M[name].Enabled, err)
    	}
    	return n, nil
    }
    
    //go:noinline
    func addUpdate(n *int, in interface{}, s ...string) error {
    	if *n != 99 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 25 04:53:23 UTC 2017
    - 1.2K bytes
    - Viewed (0)
Back to top