Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,872 for appendId (0.15 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ExternalModuleComponentResolverFactoryTest.groovy

                    componentMetadataSupplierFactory,
                    versionListerFactory,
                    Mock(Instantiator),
                    TestUtil.checksumService
                ]
            ) {
                appendId(_) >> {}
                getLocalAccess() >> Stub(ModuleComponentRepositoryAccess)
                getRemoteAccess() >> Stub(ModuleComponentRepositoryAccess)
                isM2compatible() >> true
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 19:46:40 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/appends/appends.go

    	"golang.org/x/tools/go/types/typeutil"
    )
    
    //go:embed doc.go
    var doc string
    
    var Analyzer = &analysis.Analyzer{
    	Name:     "appends",
    	Doc:      analysisutil.MustExtractDoc(doc, "appends"),
    	URL:      "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/appends",
    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/vet/testdata/appends/appends.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains tests for the appends checker.
    
    package appends
    
    func AppendsTest() {
    	sli := []string{"a", "b", "c"}
    	sli = append(sli) // ERROR "append with no values"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 20:55:20 UTC 2023
    - 338 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Joiner.java

              appendable.append(joiner.separator);
              Entry<?, ?> e = parts.next();
              appendable.append(joiner.toString(e.getKey()));
              appendable.append(keyValueSeparator);
              appendable.append(joiner.toString(e.getValue()));
            }
          }
          return appendable;
        }
    
        /**
         * Appends the string representation of each entry in {@code entries}, using the previously
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  5. test/typeparam/append.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type Recv <-chan int
    
    type sliceOf[E any] interface {
    	~[]E
    }
    
    func _Append[S sliceOf[T], T any](s S, t ...T) S {
    	return append(s, t...)
    }
    
    func main() {
    	recv := make(Recv)
    	a := _Append([]Recv{recv}, recv)
    	if len(a) != 2 || a[0] != recv || a[1] != recv {
    		panic(a)
    	}
    
    	recv2 := make(chan<- int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 597 bytes
    - Viewed (0)
  6. test/append1.go

    // Verify that append arguments requirements are enforced by the
    // compiler.
    
    package main
    
    func main() {
    
    	s := make([]int, 8)
    
    	_ = append()           // ERROR "missing arguments to append|not enough arguments for append"
    	_ = append(s...)       // ERROR "cannot use ... on first argument|not enough arguments in call to append"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 22:28:39 UTC 2022
    - 856 bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Joiner.java

              appendable.append(joiner.separator);
              Entry<?, ?> e = parts.next();
              appendable.append(joiner.toString(e.getKey()));
              appendable.append(keyValueSeparator);
              appendable.append(joiner.toString(e.getValue()));
            }
          }
          return appendable;
        }
    
        /**
         * Appends the string representation of each entry in {@code entries}, using the previously
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  8. internal/ioutil/append-file_nix.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. src/log/log.go

    	if flag&Lmsgprefix == 0 {
    		*buf = append(*buf, prefix...)
    	}
    	if flag&(Ldate|Ltime|Lmicroseconds) != 0 {
    		if flag&LUTC != 0 {
    			t = t.UTC()
    		}
    		if flag&Ldate != 0 {
    			year, month, day := t.Date()
    			itoa(buf, year, 4)
    			*buf = append(*buf, '/')
    			itoa(buf, int(month), 2)
    			*buf = append(*buf, '/')
    			itoa(buf, day, 2)
    			*buf = append(*buf, ' ')
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/temp.go

    	return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
    }
    
    // stackTempAddr returns the expression &tmp, where tmp is a newly
    // allocated temporary variable of the given type. Statements to
    // zero-initialize tmp are appended to init.
    func stackTempAddr(init *ir.Nodes, typ *types.Type) *ir.AddrExpr {
    	n := typecheck.TempAt(base.Pos, ir.CurFunc, typ)
    	n.SetNonMergeable(true)
    	return initStackTemp(init, n, nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top