Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 6,596 for _return (0.06 sec)

  1. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        protected String getKeyNotInPopulatedMap() {
          return "cat";
        }
    
        @Override
        protected Map<Integer, Character> getValueNotInPopulatedMap() {
          return ImmutableMap.of();
        }
    
        /**
         * The version of this test supplied by {@link MapInterfaceTest} fails for this particular map
         * implementation, because {@code map.get()} returns a view collection that changes in the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         *
         * @param phase
         * @return
         */
        public Lifecycle get(String phase) {
            return getPhaseToLifecycleMap().get(phase);
        }
    
        /**
         * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the
         * phase they want to execute and we can easily determine what lifecycle we need to run.
         *
         * @return A map of lifecycles, indexed on id
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        return Class.forName("java.lang.Thread\$Builder")
          .getMethod("factory")
          .invoke(ofVirtual) as ThreadFactory
      }
    
      private fun isLoom(): Boolean {
        return getPlatformSystemProperty() == LOOM_PROPERTY
      }
    
      fun newClientBuilder(): OkHttpClient.Builder {
        return newClient().newBuilder()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
      public final E next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        return get(position++);
      }
    
      @Override
      public final int nextIndex() {
        return position;
      }
    
      @Override
      public final boolean hasPrevious() {
        return position > 0;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. cmd/config-dir.go

    }
    
    func getDefaultConfigDir() string {
    	homeDir, err := homedir.Dir()
    	if err != nil {
    		return ""
    	}
    
    	return filepath.Join(homeDir, defaultMinioConfigDir)
    }
    
    func getDefaultCertsDir() string {
    	return filepath.Join(getDefaultConfigDir(), certsDir)
    }
    
    func getDefaultCertsCADir() string {
    	return filepath.Join(getDefaultCertsDir(), certsCADir)
    }
    
    var (
    	// Default config, certs and CA directories.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. internal/lock/lock_solaris.go

    		f.Close()
    		if err == syscall.EAGAIN {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    	return &LockedFile{f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. internal/handlers/proxy.go

    	raddr, _, _ := net.SplitHostPort(addr)
    	if raddr == "" {
    		return addr
    	}
    	return raddr
    }
    
    // GetSourceIP retrieves the IP from the request headers
    // and falls back to r.RemoteAddr when necessary.
    func GetSourceIP(r *http.Request) string {
    	addr := GetSourceIPRaw(r)
    	if strings.ContainsRune(addr, ':') {
    		return "[" + addr + "]"
    	}
    	return addr
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/https/Handler.java

         * 
         */
        public Handler ( CIFSContext tc ) {
            super(tc);
        }
    
    
        /**
         * Returns the default HTTPS port.
         *
         * @return An <code>int</code> containing the default HTTPS port.
         */
        @Override
        protected int getDefaultPort () {
            return DEFAULT_HTTPS_PORT;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

      opts->opts.validate_colocation_constraints = enable;
    }
    
    // Load a Pluggable Device library.
    // On success, returns the handle to library in result and return OK from the
    // function. Otherwise return nullptr in result and error Status from the
    // function.
    //
    // If `library_filename` has already been loaded, we return a cached handle.
    // Device and Kernels/Ops are registered as globals when a library is loaded
    // for the first time.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top