Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 6,241 for if (0.08 sec)

  1. internal/config/compress/compress.go

    		if err != nil {
    			return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESS_EXTENSIONS value (`%s`)", err, extensions)
    		}
    		cfg.Extensions = extensions
    	}
    
    	if compressMimeTypes != "" {
    		mimeTypes, err := parseCompressIncludes(compressMimeTypes)
    		if err != nil {
    			return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESSION_MIME_TYPES value (`%s`)", err, mimeTypes)
    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpFilter.java

         * @param resp
         *            The servlet response
         * @param skipAuthentication
         *            If true the negotiation is only done if it is
         *            initiated by the client (MSIE post requests after successful NTLM SSP
         *            authentication). If false and the user has not been authenticated yet
         *            the client will be forced to send an authentication (server sends
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		got, ok := <-out
    		if !ok {
    			t.Fatal("Got no result")
    		}
    
    		xl, err := got.xlmeta()
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(xl.versions) != 3 {
    			t.Fatal("Got wrong number of versions, want 3, got", len(xl.versions))
    		}
    		if !sort.SliceIsSorted(xl.versions, func(i, j int) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       *
       * <p>If {@code expectedOldValue} is zero, this method will succeed if {@code (key, zero)} is
       * currently in the map, or if {@code key} is not in the map at all.
       */
      boolean replace(K key, long expectedOldValue, long newValue) {
        if (expectedOldValue == 0L) {
          return putIfAbsent(key, newValue) == 0L;
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. cmd/namespace-lock.go

    	}
    
    	if !locked { // We failed to get the lock
    		// Decrement ref count since we failed to get the lock
    		n.lockMapMutex.Lock()
    		n.lockMap[resource].ref--
    		if n.lockMap[resource].ref < 0 {
    			logger.CriticalIf(GlobalContext, errors.New("resource reference count was lower than 0"))
    		}
    		if n.lockMap[resource].ref == 0 {
    			// Remove from the map if there are no more references.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. cmd/sftp-server_test.go

    	keyBytes, err := os.ReadFile("./testdata/invalid_test_key.pub")
    	if err != nil {
    		c.Fatalf("could not read test key file: %s", err)
    	}
    
    	testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes)
    	if err != nil {
    		c.Fatalf("could not parse test key file: %s", err)
    	}
    
    	newSSHCon := newSSHConnMock("dillon=ldap")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil || !errors.Is(err, errAuthentication) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Strings.java

            int len = 0;
            while ( buffer[ bufferIndex + len ] != (byte) 0x00 || buffer[ bufferIndex + len + 1 ] != (byte) 0x00 ) {
                len += 2;
                if ( len > maxLen ) {
                    if ( log.isDebugEnabled() ) {
                        log.warn("Failed to find string termination with max length " + maxLen);
                        log.debug(Hexdump.toHexString(buffer, bufferIndex, len));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            }
    
            artifacts.clear();
    
            Versioning versioning = recessive.getVersioning();
            if (versioning != null) {
                for (SnapshotVersion sv : versioning.getSnapshotVersions()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
                    if (!versions.containsKey(key)) {
                        versions.put(key, sv);
                    }
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

         */
        @Override
        public ResultData transform(final ResponseData responseData) {
            if (responseData == null || !responseData.hasResponseBody()) {
                throw new CrawlingAccessException("No response body.");
            }
    
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
            if (extractorFactory == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            try ( SmbTreeHandleInternal th = this.file.ensureTreeConnected() ) {
                if ( mode.equals("r") ) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDONLY;
                    this.access = SmbConstants.FILE_READ_DATA;
                }
                else if ( mode.equals("rw") ) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDWR | SmbConstants.O_APPEND;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
Back to top