Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2201 - 2210 of 6,918 for RETURN (0.04 sec)

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

      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("d");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return 4;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          public Integer apply(Integer input) {
            return input + delta;
          }
        };
      }
    
      private static AsyncCallable<Integer> asyncAdd(
          final ListenableFuture<Integer> future, final int delta, final Executor executor) {
        return new AsyncCallable<Integer>() {
          @Override
          public ListenableFuture<Integer> call() throws Exception {
            return Futures.transform(future, add(delta), executor);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

            ConcatenatedHashFunction other = (ConcatenatedHashFunction) object;
            return Arrays.equals(functions, other.functions);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Arrays.hashCode(functions);
        }
      }
    
      /**
       * Linear CongruentialGenerator to use for consistent hashing. See
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. schema/field.go

    			case []byte:
    				return field.Set(ctx, value, string(data))
    			case string:
    				if i, err := strconv.ParseFloat(data, 64); err == nil {
    					field.ReflectValueOf(ctx, value).SetFloat(i)
    				} else {
    					return err
    				}
    			default:
    				return fallbackSetter(ctx, value, v, field.Set)
    			}
    			return err
    		}
    	case reflect.String:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. callbacks/preload.go

    				if err := preload(tx, rel, append(preloads[name], associationsConds...), preloadMap[name]); err != nil {
    					return err
    				}
    			}
    		} else {
    			return fmt.Errorf("%s: %w for schema %s", name, gorm.ErrUnsupportedRelation, db.Statement.Schema.Name)
    		}
    	}
    	return nil
    }
    
    func preloadDB(db *gorm.DB, reflectValue reflect.Value, dest interface{}) *gorm.DB {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      protected E standardPollLast() {
        return Iterators.pollNext(descendingIterator());
      }
    
      @ParametricNullness
      protected E standardFirst() {
        return iterator().next();
      }
    
      @ParametricNullness
      protected E standardLast() {
        return descendingIterator().next();
      }
    
      @Override
      public NavigableSet<E> descendingSet() {
        return delegate().descendingSet();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

     *
     * <h3>Example</h3>
     *
     * <pre>
     *   return new Converter&lt;Integer, String&gt;() {
     *     protected String doForward(Integer i) {
     *       return Integer.toHexString(i);
     *     }
     *
     *     protected Integer doBackward(String s) {
     *       return parseUnsignedInt(s, 16);
     *     }
     *   };</pre>
     *
     * <p>An alternative using Java 8:
     *
     * <pre>{@code
     * return Converter.from(
     *     Integer::toHexString,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Resources.java

        return asByteSource(url).asCharSource(charset);
      }
    
      /**
       * Reads all bytes from a URL into a byte array.
       *
       * @param url the URL to read from
       * @return a byte array containing all the bytes from the URL
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(URL url) throws IOException {
        return asByteSource(url).read();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

        return (graph instanceof ImmutableValueGraph)
            ? (ImmutableValueGraph<N, V>) graph
            : new ImmutableValueGraph<N, V>(graph);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       */
      @Deprecated
      public static <N, V> ImmutableValueGraph<N, V> copyOf(ImmutableValueGraph<N, V> graph) {
        return checkNotNull(graph);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

    @ElementTypesAreNonnullByDefault
    public interface ListeningExecutorService extends ExecutorService {
      /**
       * @return a {@code ListenableFuture} representing pending completion of the task
       * @throws RejectedExecutionException {@inheritDoc}
       */
      @Override
      <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task);
    
      /**
       * @return a {@code ListenableFuture} representing pending completion of the task
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
Back to top