Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for hopper (0.21 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

        final Map<Path, Holder> modelByPath = new ConcurrentHashMap<>();
    
        final Map<GAKey, Holder> modelByGA = new ConcurrentHashMap<>();
    
        public static class Holder {
            private volatile boolean set;
            private volatile Model model;
    
            Holder() {}
    
            Holder(Model model) {
                this.model = Objects.requireNonNull(model);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    // NewDeadlineWorker constructs a new DeadlineWorker with the given timeout.
    // To return values, use the WithDeadline helper instead.
    func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker {
    	dw := &DeadlineWorker{
    		timeout: timeout,
    	}
    	return dw
    }
    
    // Run runs the given function, passing it a stopper channel. If the deadline passes before
    // the function finishes executing, Run returns context.DeadlineExceeded to the caller.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. pom.xml

    							<mapper>
    								<type>perm</type>
    								<user>${packaging.fess.user}</user>
    								<group>${packaging.fess.group}</group>
    							</mapper>
    						</data>
    						<data>
    							<type>directory</type>
    							<src>${project.build.directory}/fess/WEB-INF/classes/org/codelibs/fess/tomcat</src>
    							<mapper>
    								<type>perm</type>
    XML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Mon Apr 22 12:06:58 GMT 2024
    - 48.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

                    Model model = findRawModel(from, gId, aId);
                    if (model != null) {
                        context.modelByGA.put(new GAKey(gId, aId), new Holder(model));
                        context.modelByPath.put(model.getPomFile(), new Holder(model));
                    }
                    return model;
                }
    
                @Override
                public Model getRawModel(Path from, Path path) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java

                    return plugin;
                }
            });
        }
    
        static <T> List<T> map(List<T> list, Function<T, T> mapper) {
            List<T> newList = list;
            for (int i = 0; i < newList.size(); i++) {
                T oldT = newList.get(i);
                T newT = mapper.apply(oldT);
                if (newT != oldT) {
                    if (newList == list) {
                        newList = new ArrayList<>(list);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      private static final long SPIN_THRESHOLD_NANOS = 1000L;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      static {
        AtomicHelper helper;
        Throwable thrownUnsafeFailure = null;
        Throwable thrownAtomicReferenceFieldUpdaterFailure = null;
    
        try {
          helper = new UnsafeAtomicHelper();
        } catch (Exception | Error unsafeFailure) { // sneaky checked exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelPathTranslator.java

            }
            return model;
        }
    
        private <T> List<T> map(List<T> resources, Function<T, T> mapper) {
            List<T> newResources = null;
            if (resources != null) {
                for (int i = 0; i < resources.size(); i++) {
                    T resource = resources.get(i);
                    T newResource = mapper.apply(resource);
                    if (newResource != null) {
                        if (newResources == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. cmd/bucket-policy.go

    	data, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    		// This should not happen because data is valid to JSON data.
    		return nil, err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/Utils.java

            }
            return clazz.cast(o);
        }
    
        static <U, V> List<V> map(Collection<U> list, Function<U, V> mapper) {
            return list.stream().map(mapper).collect(Collectors.toList());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. docs/en/docs/reference/exceptions.md

    # Exceptions - `HTTPException` and `WebSocketException`
    
    These are the exceptions that you can raise to show errors to the client.
    
    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 597 bytes
    - Viewed (0)
Back to top