Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 7,250 for return (0.09 sec)

  1. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

            if (StringUtil.isEmpty(value)) {
                return null;
            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/converter/TimestampConverter.java

        public Object getAsObject(final String value) {
            if (isEmpty(value)) {
                return null;
            }
            return TimestampConversionUtil.toSqlTimestamp(value, pattern);
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
            return StringConversionUtil.toString((Date) value, pattern);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs/debugging/inspect/decrypt-v1.go

    	id, err := hex.DecodeString(keyHex[:8])
    	if err != nil {
    		return err
    	}
    	key, err := hex.DecodeString(keyHex[8:])
    	if err != nil {
    		return err
    	}
    	// Verify that CRC is ok.
    	want := binary.LittleEndian.Uint32(id)
    	got := crc32.ChecksumIEEE(key)
    	if want != got {
    		return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

        }
    
        public File getTemporaryFile() {
            return tempFile;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.io.InputStream#read()
         */
        @Override
        public int read() throws IOException {
            return fileInputStream.read();
        }
    
        @Override
        public int available() throws IOException {
            return fileInputStream.available();
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          check(!closed) { "closed" }
          if (inputExhausted) return -1
    
          val read = super.read(sink, byteCount)
          if (read == -1L) {
            inputExhausted = true
            responseBodyComplete()
            return -1
          }
          return read
        }
    
        override fun close() {
          if (closed) return
          if (!inputExhausted) {
            responseBodyComplete()
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/archive/zip/register.go

    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    	di, ok := decompressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return di.(Decompressor)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      /**
       * Returns an empty {@code ImmutableClassToInstanceMap}.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       *
       * @since 19.0
       */
      @SuppressWarnings("unchecked")
      public static <B> ImmutableClassToInstanceMap<B> of() {
        return (ImmutableClassToInstanceMap<B>) EMPTY;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ComparatorOrdering.java

        return comparator.compare(a, b);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ComparatorOrdering) {
          ComparatorOrdering<?> that = (ComparatorOrdering<?>) object;
          return this.comparator.equals(that.comparator);
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 1.9K 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/src/com/google/common/util/concurrent/ClosingFuture.java

                return closeables.applyAsyncClosingFunction(function, input);
              }
    
              @Override
              public String toString() {
                return function.toString();
              }
            };
        return derive(future.transformAsync(applyFunction, executor));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
Back to top