Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 566 for res2 (0.02 seconds)

  1. cmd/erasure-metadata_test.go

    	}
    
    	mkTest := func(N, parity, agree int) (res struct {
    		metaArr  []FileInfo
    		errs     []error
    		parities []int
    		parity   int
    	},
    	) {
    		res.metaArr = mkMetaArr(N, parity, agree)
    		res.parities = mkParities(N, N-(N/2+1), parity, agree)
    		res.errs = make([]error, N)
    		if agree >= N/2+1 { // simple majority consensus
    			res.parity = N - (N/2 + 1)
    		} else {
    			res.parity = -1
    		}
    		return res
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                ProjectBuildingResult res;
                if (request.getPath().isPresent()) {
                    Path path = request.getPath().get();
                    res = builder.build(path.toFile(), req);
                } else if (request.getSource().isPresent()) {
                    Source source = request.getSource().get();
                    ModelSource2 modelSource = new SourceWrapper(source);
                    res = builder.build(modelSource, req);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
            SmbComNTCreateAndXResponse resp = req.initResponse(mockContext);
            assertNotNull(resp, "Response should not be null after init");
            // getResponse should now return the same instance
            assertSame(resp, req.getResponse(), "getResponse should expose the initialized response");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. internal/handlers/proxy_test.go

    	res := GetSourceIP(req)
    	if res != "8.8.8.8" {
    		t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res)
    	}
    
    	// When explicitly disabled, the XFF header is ignored and X-Real-IP is used.
    	enableXFFHeader = false
    	defer func() {
    		enableXFFHeader = true
    	}()
    	res = GetSourceIP(req)
    	if res != "1.1.1.1" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Joiner.java

      }
    
      private static Iterable<@Nullable Object> iterable(
          @Nullable Object first, @Nullable Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
        return new AbstractList<@Nullable Object>() {
          @Override
          public int size() {
            return rest.length + 2;
          }
    
          @Override
          public @Nullable Object get(int index) {
            switch (index) {
              case 0:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. internal/s3select/sql/funceval.go

    // function.
    func (e *FuncExpr) evalSQLFnNode(r Record, tableAlias string) (res *Value, err error) {
    	// Handle functions that have phrase arguments
    	switch e.getFunctionName() {
    	case sqlFnCast:
    		expr := e.Cast.Expr
    		res, err = expr.castTo(r, strings.ToUpper(e.Cast.CastType), tableAlias)
    		return res, err
    
    	case sqlFnSubstring:
    		return handleSQLSubstring(r, e.Substring, tableAlias)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. docs/ru/docs/alternatives.md

    ### <a href="https://www.django-rest-framework.org/" class="external-link" target="_blank">Django REST Framework</a> { #django-rest-framework }
    
    Django REST Framework был создан как гибкий набор инструментов для построения веб-API поверх Django, чтобы улучшить его возможности в части API.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            req1.setArtifact(new DefaultArtifact("ut.simple:artifact:1.0"));
            req1.addRepository(newTestRepository());
    
            ArtifactRequest req2 = new ArtifactRequest();
            req2.setArtifact(new DefaultArtifact("ut.simple:artifact:zip:1.0"));
            req2.addRepository(newTestRepository());
    
            ArtifactRequest req3 = new ArtifactRequest();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/pseudo_test.go

    package asm
    
    import (
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    )
    
    func tokenize(s string) [][]lex.Token {
    	res := [][]lex.Token{}
    	if len(s) == 0 {
    		return res
    	}
    	for _, o := range strings.Split(s, ",") {
    		res = append(res, lex.Tokenize(o))
    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    	}
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SIDCacheImpl.java

                    final rpc.unicode_string ustr = rpc.domains.domains[resp.sid_index].name;
                    out.domainName = new UnicodeString(ustr, false).toString();
                    break;
                }
    
                final UnicodeString ucstr = new UnicodeString(resp.name, false);
                out.acctName = ucstr.toString();
                out.type = resp.sid_type;
                out.origin_server = null;
                out.origin_ctx = null;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
Back to Top