Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1651 - 1660 of 1,909 for Long (0.04 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

        SerializedForm(Object[] elements) {
          this.elements = elements;
        }
    
        Object readResolve() {
          return copyOf(elements);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        @Tested public String publicField;
        @Tested private static Iterable<String> staticField;
        @Tested private final Object finalField;
        private volatile char volatileField;
        private transient long transientField;
    
        @Tested
        public A(Object finalField) {
          this.finalField = finalField;
        }
    
        @Tested
        abstract void abstractMethod();
    
        @Tested
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

          Files.write(file, new byte[10]);
          Path link = fs.getPath("link");
          Files.createSymbolicLink(link, file);
    
          ByteSource source = MoreFiles.asByteSource(link);
    
          assertEquals(10L, (long) source.sizeIfKnown().get());
          assertEquals(10L, source.size());
        }
      }
    
      public void testByteSource_size_ofSymlinkToRegularFile_nofollowLinks() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/response-model.md

    but you might want to omit them from the result if they were not actually stored.
    
    For example, if you have models with many optional attributes in a NoSQL database, but you don't want to send very long JSON responses full of default values.
    
    ### Use the `response_model_exclude_unset` parameter
    
    You can set the *path operation decorator* parameter `response_model_exclude_unset=True`:
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/InvokableTest.java

        @Tested public String publicField;
        @Tested private static Iterable<String> staticField;
        @Tested private final Object finalField;
        private volatile char volatileField;
        private transient long transientField;
    
        @Tested
        public A(Object finalField) {
          this.finalField = finalField;
        }
    
        @Tested
        abstract void abstractMethod();
    
        @Tested
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/ImmutableIntArray.java

         *
         * @since 22.0 (but only since 33.4.0 in the Android flavor)
         */
        @CanIgnoreReturnValue
        public Builder addAll(IntStream stream) {
          Spliterator.OfInt spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((IntConsumer) this::add);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. cmd/metacache-stream.go

    		case <-ctx.Done():
    			r.err = ctx.Err()
    			return ctx.Err()
    		case dst <- meta:
    		}
    	}
    }
    
    // readFn will return all remaining objects
    // and provide a callback for each entry read in order
    // as long as true is returned on the callback.
    func (r *metacacheReader) readFn(fn func(entry metaCacheEntry) bool) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	if r.current.name != "" {
    		fn(r.current)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileLocationTest.java

                return this.path;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getExpiration()
             */
            @Override
            public long getExpiration () {
                return 0;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#next()
             */
            @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      public static class SampleDoubles extends SampleElements<Double> {
        public SampleDoubles() {
          super(-0.0, Long.MAX_VALUE * 3.0, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @param argValue
         *            引数の値
         * @throws EmptyArgumentException
         *             引数が<code>null</code>または空の配列の場合。
         */
        public static void assertArgumentNotEmpty(final String argName, final long[] argValue) {
            if (ArrayUtil.isEmpty(argValue)) {
                throw new EmptyArgumentException(argName, "ECL0011", asArray(argName));
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top