Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 6,799 for _return (0.08 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            request.setRemoteRepositories(remoteRepositories);
            return resolveVersion(artifact, request);
        }
    
        protected String resolveVersion(Artifact artifact, RepositoryRequest request)
                throws RepositoryMetadataResolutionException {
            RepositoryMetadata metadata;
            // Don't use snapshot metadata for LATEST (which isSnapshot returns true for)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers.go

    	ns := s.namespaces.Get(podNamespace, "")
    	if ns == nil {
    		return nil, fmt.Errorf("failed to find namespace %v", ns)
    	}
    	pod := s.pods.Get(podName, podNamespace)
    	if pod == nil {
    		return nil, fmt.Errorf("failed to find pod %v", ns)
    	}
    	if util.PodRedirectionEnabled(ns, pod) {
    		return pod, nil
    	}
    	return nil, nil
    }
    
    func (s *InformerHandlers) Start() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                  append(" body)")
                },
              )
            }
          }
    
          return response
        }
    
        internal fun redactUrl(url: HttpUrl): String {
          if (queryParamsNameToRedact.isEmpty() || url.querySize == 0) {
            return url.toString()
          }
          return url.newBuilder().query(null).apply {
            for (i in 0 until url.querySize) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. internal/dsync/locker.go

    type NetLocker interface {
    	// Do read lock for given LockArgs.  It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of lock request operation.
    	RLock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Do write lock for given LockArgs. It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of lock request operation.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 18 20:44:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. internal/dsync/dsync-server_test.go

    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    
    	if _, err = lh.lsrv.ForceUnlock(&args); err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    }
    
    func (lh *lockServerHandler) RefreshHandler(w http.ResponseWriter, r *http.Request) {
    	args, err := getLockArgs(r)
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    
    	reply, err := lh.lsrv.Refresh(&args)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. internal/s3select/simdj/reader.go

    					return
    				}
    
    				o, err := obj.Object(&tmpObj)
    				if err != nil {
    					r.err = &err
    					return
    				}
    				select {
    				case <-r.exitReader:
    					return
    				case r.decoded <- *o:
    				}
    			default:
    				err = fmt.Errorf("unexpected root json type:%v", typ)
    				r.err = &err
    				return
    			}
    		}
    		if in.Error == io.EOF {
    			return
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              }
            }
          }
    
        return BasicDerAdapter(
          name = name,
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 16L,
          codec = codec,
        )
      }
    
      /** Returns an adapter that decodes as the first of a list of available types. */
      fun choice(vararg choices: DerAdapter<*>): DerAdapter<Pair<DerAdapter<*>, Any?>> {
        return object : DerAdapter<Pair<DerAdapter<*>, Any?>> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        @Override
        public int hashCode() {
          return Objects.hashCode(name, parameterTypes);
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o instanceof MethodIdentifier) {
            MethodIdentifier ident = (MethodIdentifier) o;
            return name.equals(ident.name) && parameterTypes.equals(ident.parameterTypes);
          }
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. docs/en/docs/js/termynal.js

                let div = document.createElement('div');
                div.innerHTML = `<span ${this._attributes(line)}>${line.value || ''}</span>`;
    
                return div.firstElementChild;
            });
        }
    
        /**
         * Helper function for generating attributes string.
         *
         * @param {Object} line - Line data object.
         * @returns {string} - String of attributes.
         */
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top