Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 7,250 for return (0.05 sec)

  1. internal/cachevalue/cache.go

    		// There is a new value, release lock and return it.
    		if v = t.val.Load(); v != nil {
    			return *v, nil
    		}
    	}
    
    	if err := t.update(ctx); err != nil {
    		var empty T
    		return empty, err
    	}
    
    	return *t.val.Load(), nil
    }
    
    // Get will return a cached value or fetch a new one.
    // Tf the Update function returns an error the value is forwarded as is and not cached.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

              return true;
            }
            return false;
          }
    
          @Override
          Splitr createSplit(Spliterator.OfInt from, long i) {
            return new Splitr(from, i);
          }
        }
        return StreamSupport.stream(new Splitr(fromSpliterator, 0), isParallel).onClose(stream::close);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. cmd/sftp-server.go

    		if !globalIAMSys.LDAPConfig.Enabled() {
    			return nil, errSFTPLDAPNotEnabled
    		}
    		return processLDAPAuthentication(key, pass, user)
    	}
    
    	user, found = strings.CutSuffix(c.User(), "=svc")
    	if found {
    		goto internalAuth
    	}
    
    	if globalIAMSys.LDAPConfig.Enabled() {
    		perms, _ := processLDAPAuthentication(key, pass, user)
    		if perms != nil {
    			return perms, nil
    		}
    	}
    
    internalAuth:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

          patch: Int = 0,
        ): Boolean {
          val conscryptVersion = Conscrypt.version() ?: return false
    
          if (conscryptVersion.major() != major) {
            return conscryptVersion.major() > major
          }
    
          if (conscryptVersion.minor() != minor) {
            return conscryptVersion.minor() > minor
          }
    
          return conscryptVersion.patch() >= patch
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

                            * closes in between */
        }
        int getBatchLimit( byte command ) {
            if( command == SMB_COM_READ_ANDX ) {
                return READ_ANDX_BATCH_LIMIT;
            }
            if( command == SMB_COM_CLOSE ) {
                return CLOSE_BATCH_LIMIT;
            }
            return 0;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Base64.java

         * applied on output.
         *
         * @param bytes The block of data that is to be Base-64 encoded.
         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(byte[] bytes) {
            int length = bytes.length;
            if (length == 0) return "";
            StringBuffer buffer =
                    new StringBuffer((int) Math.ceil((double) length / 3d) * 4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/security.js

    e){if(e in c){if(b.length>=c[e][0]&&b.length<=c[e][1])return h=!0,!1}else a.formUtils.warn('Use of unknown credit card "'+e+'"',!0)}),!h)return!1}if(""!==b.replace(new RegExp("[0-9]","g"),""))return!1;var i=0;return a.each(b.split("").reverse(),function(a,b){b=parseInt(b,10),a%2===0?i+=b:(b*=2,i+=b<10?b:b-9)}),i%10===0},errorMessage:"",errorMessageKey:"badCreditCard"}),a.formUtils.addValidator({name:"cvv",validatorFunction:function(a){return""===a.replace(/[0-9]/g,"")&&(a+="",d?4===a.length:e?3=...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMultiset.java

        }
        return result;
      }
    
      @WeakOuter
      class EntrySet extends Multisets.EntrySet<E> {
        @Override
        Multiset<E> multiset() {
          return AbstractMultiset.this;
        }
    
        @Override
        public Iterator<Entry<E>> iterator() {
          return entryIterator();
        }
    
        @Override
        public int size() {
          return distinctElements();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            return request;
        }
    
        public boolean isOffline() {
            return offline;
        }
    
        public DefaultRepositoryRequest setOffline(boolean offline) {
            this.offline = offline;
    
            return this;
        }
    
        public boolean isForceUpdate() {
            return forceUpdate;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/BadWordPager.java

        }
    
        protected int getDefaultCurrentPageNumber() {
            return DEFAULT_CURRENT_PAGE_NUMBER;
        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        public int getAllPageCount() {
            return allPageCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top