Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,769 for indirectly (0.18 sec)

  1. src/cmd/go/testdata/script/mod_get_newcycle.txt

    go mod download example.com/newcycle/b@v1.0.0
    
    go mod init m
    ! go get example.com/newcycle/a@v1.0.0
    cmp stderr stderr-expected
    
    -- stderr-expected --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 459 bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/testdata/deadcode/ifacemethod2.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that a method *is* live if it matches an interface
    // method and the type is "indirectly" converted to an
    // interface through reflection.
    
    package main
    
    import "reflect"
    
    type I interface{ M() }
    
    type T int
    
    func (T) M() { println("XXX") }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 11 22:32:49 UTC 2020
    - 488 bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/testdata/deadcode/ifacemethod5.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Like ifacemethod2.go, this tests that a method *is* live
    // if the type is "indirectly" converted to an interface
    // using reflection with a method descriptor as intermediate.
    // However, it uses MethodByName() with a constant name of
    // a method to look up. This does not disable the DCE like
    // Method(0) does.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:07:26 UTC 2023
    - 777 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_lazy_upgrade_lazy.txt

    # when the main module and the dependency are both lazy.
    # Verifies #47768.
    
    # Check that go.mod is tidy, and an upgrade is available.
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod go.mod.orig
    
    go list -m -u example.com/lazyupgrade
    stdout '^example.com/lazyupgrade v0.1.0 \[v0.1.1\] => ./lazyupgrade@v0.1.0$'
    
    # 'go get -u' on a package that directly imports the dependency should upgrade.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 17:58:12 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_patterns.txt

    env GO111MODULE=on
    [short] skip
    
    cd m
    
    # 'go list all' should list all of the packages used (directly or indirectly) by
    # the packages in the main module, but no other packages from the standard
    # library or active modules.
    #
    # 'go list ...' should list packages in all active modules and the standard library.
    #
    # 'go list example.com/m/...' should list packages in all modules that begin with 'example.com/m/'.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 03:25:01 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_tidy_downgrade_ambiguous.txt

    # an ambiguity.
    go mod tidy
    go list -m -f '{{.Path}}@{{.Version}}{{if .Indirect}} indirect{{end}}' all
    stdout '^rsc.io/quote@v1.5.2 indirect$'
    stdout '^rsc.io/quote/v3@v3.0.0$'
    
    -- go.mod --
    module use
    
    go 1.16
    
    require (
    	old-indirect v0.0.0
    	rsc.io/quote v1.5.2
    )
    
    replace old-indirect v0.0.0 => ./old-indirect
    -- go.sum --
    golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c h1:pvCbr/wm8HzDD3fVywevekufpn6tCGPY3spdHeZJEsw=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 17:32:52 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

                                        access_info.reads_since_last_write.end());
        // Last write is indirectly tracked by any read predecessor we added.
        is_last_write_indirectly_tracked =
            !access_info.reads_since_last_write.empty();
      }
      if (!is_last_write_indirectly_tracked) {
        // Add last write as predecessor since it was not indirectly tracked.
        new_control_predecessors.insert(access_info.last_writes.begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprogcgo/racesig.go

    // +build unix
    
    package main
    
    // Test that an external C thread that is calling malloc can be hit
    // with SIGCHLD signals. This used to fail when built with the race
    // detector, because in that case the signal handler would indirectly
    // call the C malloc function.
    
    /*
    #include <errno.h>
    #include <signal.h>
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <pthread.h>
    #include <sched.h>
    #include <unistd.h>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 01:46:05 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top