Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 7,250 for return (0.09 sec)

  1. src/main/java/jcifs/pac/ASN1Util.java

         * @param enumeration
         * @return next element from enumeration cast to type
         * @throws PACDecodingException
         */
        public static <T extends Object> T as ( Class<T> type, Enumeration<?> enumeration ) throws PACDecodingException {
            return as(type, enumeration.nextElement());
        }
    
    
        /**
         * 
         * @param type
         * @param stream
         * @return next object from stream cast to type
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            return false;
          }
          if ((i > 2) && (compareElements(getGrandparentIndex(i), i) > 0)) {
            return false;
          }
          return true;
        }
    
        // These would be static if inner classes could have static members.
    
        private int getLeftChildIndex(int i) {
          return i * 2 + 1;
        }
    
        private int getRightChildIndex(int i) {
          return i * 2 + 2;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. tests/test_dependency_class.py

        return value
    
    
    @app.get("/callable-gen-dependency")
    async def get_callable_gen_dependency(value: str = Depends(callable_gen_dependency)):
        return value
    
    
    @app.get("/async-callable-dependency")
    async def get_async_callable_dependency(
        value: str = Depends(async_callable_dependency),
    ):
        return value
    
    
    @app.get("/async-callable-gen-dependency")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 10:54:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  4. docs/debugging/inspect/decrypt-v2.go

    				if extracted {
    					return nil
    				}
    				return errors.New("no data found on stream")
    			}
    			if errors.Is(err, estream.ErrNoKey) {
    				if stream.Name == "inspect.zip" {
    					return errors.New("incorrect private key")
    				}
    				if err := stream.Skip(); err != nil {
    					return fmt.Errorf("stream skip: %w", err)
    				}
    				continue
    			}
    			if extracted {
    				return keepFileErr{fmt.Errorf("next stream: %w", err)}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. cmd/metacache.go

    func (m *metacache) finished() bool {
    	return !m.ended.IsZero()
    }
    
    // worthKeeping indicates if the cache by itself is worth keeping.
    func (m *metacache) worthKeeping() bool {
    	if m == nil {
    		return false
    	}
    	cache := m
    	switch {
    	case !cache.finished() && time.Since(cache.lastUpdate) > metacacheMaxRunningAge:
    		// Not finished and update for metacacheMaxRunningAge, discard it.
    		return false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapUser.java

            return stream(getPermissions()).get(stream -> stream.filter(s -> s.startsWith(fessConfig.getRoleSearchGroupPrefix()))
                    .map(s -> s.substring(1)).toArray(n -> new String[n]));
        }
    
        public Hashtable<String, String> getEnvironment() {
            return env;
        }
    
        @Override
        public boolean isEditable() {
            return ComponentUtil.getFessConfig().isLdapAdminEnabled(name);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            if (StringUtil.isBlank(userCode)) {
                return null;
            }
    
            if (fessConfig.isValidUserCode(userCode)) {
                request.setAttribute(Constants.USER_CODE, userCode);
                return userCode;
            }
            return null;
        }
    
        protected String getId() {
            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                    return INCOMPARABLE;
                }
    
                return MORE_SPECIFIC;
            }
    
            if (c2MoreSpecific) {
                return LESS_SPECIFIC;
            }
    
            // Incomparable due to non-related arguments (i.e.
            // foo(Runnable) vs. foo(Serializable))
            return INCOMPARABLE;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

            return DoubleMath.factorial(n);
          }
    
          @Override
          public int gcdInt(int a, int b) {
            return IntMath.gcd(a, b);
          }
    
          @Override
          public long gcdLong(long a, long b) {
            return LongMath.gcd(a, b);
          }
    
          @Override
          public long binomialCoefficient(int n, int k) {
            return LongMath.binomial(n, k);
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.9K bytes
    - Viewed (0)
  10. internal/s3select/sql/statement.go

    			}
    			return recs, nil
    
    		default:
    			input.Reset()
    			input, err = input.Set("_1", &Value{value: v})
    			if err != nil {
    				return nil, err
    			}
    		}
    		return []*Record{&input}, nil
    	}
    	return nil, errDataSource(errors.New("unexpected non JSON input"))
    }
    
    // IsAggregated returns if the statement involves SQL aggregation
    func (e *SelectStatement) IsAggregated() bool {
    	return e.selectQProp.isAggregation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top