Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 6,241 for IF (0.02 sec)

  1. src/cmd/api/main_test.go

    	}
    
    	context := w.context
    	if context == nil {
    		context = &build.Default
    	}
    
    	// Look in cache.
    	// If we've already done an import with the same set
    	// of relevant tags, reuse the result.
    	var key string
    	if usePkgCache {
    		if tags, ok := pkgTags[dir]; ok {
    			key = tagKey(dir, context, tags)
    			if pkg := pkgCache[key]; pkg != nil {
    				w.imported[name] = pkg
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  2. internal/event/name_test.go

    	}
    
    	for i, testCase := range testCases {
    		data, err := xml.Marshal(testCase.name)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. cmd/erasure-encode.go

    func (p *multiWriter) Write(ctx context.Context, blocks [][]byte) error {
    	for i := range p.writers {
    		if p.errs[i] != nil {
    			continue
    		}
    		if p.writers[i] == nil {
    			p.errs[i] = errDiskNotFound
    			continue
    		}
    		var n int
    		n, p.errs[i] = p.writers[i].Write(blocks[i])
    		if p.errs[i] == nil {
    			if n != len(blocks[i]) {
    				p.errs[i] = io.ErrShortWrite
    				p.writers[i] = nil
    			}
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    		if entry.Trace != nil {
    			entry.Trace.Variables = make(map[string]interface{})
    		}
    	}
    
    	return entry
    }
    
    // consoleLogIf prints a detailed error message during
    // the execution of the server.
    func consoleLogIf(ctx context.Context, subsystem string, err error, errKind ...interface{}) {
    	if DisableLog {
    		return
    	}
    	if err == nil {
    		return
    	}
    	if consoleTgt != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/xl-storage-free-version_test.go

    		if err != nil && !errors.Is(err, ft.expectedErr) {
    			t.Fatalf("ToFileInfo failed due to %v", err)
    		}
    		if got := fi.TierFreeVersion(); got != ft.expectedFree {
    			t.Fatalf("Expected free-version=%v but got free-version=%v", ft.expectedFree, got)
    		}
    		if ft.afterFn != nil {
    			_, err = ft.afterFn(fi)
    			if err != nil {
    				t.Fatalf("ft.afterFn failed with err %v", err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

            // Version Range Violation
    
            if (result.hasVersionRangeViolations()) {
                throw result.getVersionRangeViolation(0);
            }
    
            // Transfer Error
    
            if (result.hasErrorArtifactExceptions()) {
                throw result.getErrorArtifactExceptions().get(0);
            }
    
            if (result.hasMissingArtifacts()) {
                throw new MultipleArtifactsNotFoundException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            this.open = false;
            if ( this.input != null ) {
                this.input.close();
                this.input = null;
            }
    
            if ( this.output != null ) {
                this.output.close();
                this.output = null;
            }
    
            try {
                if ( wasOpen ) {
                    this.handle.close();
                }
                else if ( this.handle != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    	var cred auth.Credentials
    	v2Auth := r.Header.Get(xhttp.Authorization)
    	if v2Auth == "" {
    		return cred, ErrAuthHeaderEmpty
    	}
    
    	// Verify if the header algorithm is supported or not.
    	if !strings.HasPrefix(v2Auth, signV2Algorithm) {
    		return cred, ErrSignatureVersionNotSupported
    	}
    
    	cred, _, apiErr := getReqAccessKeyV2(r)
    	if apiErr != ErrNone {
    		return cred, apiErr
    	}
    
    	return cred, ErrNone
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                        return "5";
                    }
                    if (logger.isWarnEnabled()) {
                        return "6";
                    }
                    if (logger.isErrorEnabled()) {
                        return "7";
                    }
                    return "0";
                }
                if (SpnegoHttpFilter.Constants.LOGIN_CONF.equals(name)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

      property rights needed, if any. For example, if a third party
      patent license is required to allow Recipient to Distribute the
      Program, it is Recipient's responsibility to acquire that license
      before distributing the Program.
    
      d) Each Contributor represents that to its knowledge it has
      sufficient copyright rights in its Contribution, if any, to grant
      the copyright license set forth in this Agreement.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top