Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2841 - 2850 of 7,457 for rreturn (0.2 seconds)

  1. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        return method.getGenericParameterTypes()[0];
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static Type getSupertype(Type type, Class<?> superclass) {
        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
      private static Type getSubtype(Type type, Class<?> subclass) {
        return TypeToken.of(type).getSubtype(subclass).getType();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

          UnhashableObject that = (UnhashableObject) object;
          return this.value == that.value;
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        throw new UnsupportedOperationException();
      }
    
      // needed because otherwise Object.toString() calls hashCode()
      @Override
      public String toString() {
        return "DontHashMe" + value;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 10 20:12:40 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapSubMapTest.java

        table.put("z", 1, 'a');
        return table;
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        TreeBasedTable<String, Integer, Character> table = makeTable();
        populateTable(table);
        return table.rowMap().subMap("b", "x");
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makeEmptyMap() {
        return makeTable().rowMap().subMap("b", "x");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

        map.put("three", 3);
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 18 18:06:40 GMT 2022
    - 1.7K bytes
    - Click Count (0)
  5. tests/test_security_api_key_cookie_optional.py

        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        else:
            return current_user
    
    
    def test_security_api_key():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                trail = ids;
            }
            return trail;
        }
    
        public boolean isResolved() {
            return children != null;
        }
    
        /**
         * Test whether the node is direct or transitive dependency.
         *
         * @return whether the node is direct or transitive dependency
         */
        public boolean isChildOfRootNode() {
            return parent != null && parent.parent == null;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/PluginLifecycle.java

        }
    
        @Override
        public String id() {
            return lifecycleOverlay.getId();
        }
    
        @Override
        public Collection<Phase> phases() {
            return lifecycleOverlay.getPhases().stream()
                    .map(phase -> new Phase() {
                        @Override
                        public String name() {
                            return phase.getId();
                        }
    
                        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

      @Override
      public int size() {
        return entries.size();
      }
    
      @Override
      public ImmutableBiMap<V, K> inverse() {
        return inverse != null ? inverse : lazyInverse();
      }
    
      @LazyInit @RetainedWith private transient @Nullable JdkBackedImmutableBiMap<V, K> lazyInverse;
    
      private ImmutableBiMap<V, K> lazyInverse() {
        JdkBackedImmutableBiMap<V, K> result = lazyInverse;
        return result == null
            ? lazyInverse =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. cmd/iam-object-store.go

    		})
    		if err != nil {
    			return err
    		}
    	}
    	return saveConfig(ctx, iamOS.objAPI, objPath, data)
    }
    
    func decryptData(data []byte, objPath string) ([]byte, error) {
    	if utf8.Valid(data) {
    		return data, nil
    	}
    
    	pdata, err := madmin.DecryptData(globalActiveCred.String(), bytes.NewReader(data))
    	if err == nil {
    		return pdata, nil
    	}
    	if GlobalKMS != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

            if (features.add(implied)) {
              queue.add(implied);
            }
          }
        }
        return features;
      }
    
      /**
       * Given a set of features, return a new set of all features directly or indirectly implied by any
       * of them.
       *
       * @param features the set of features whose implications to find
       * @return the implied set of features
       */
      public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
Back to Top