Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 1,900 for longp (0.03 sec)

  1. guava/src/com/google/common/net/InternetDomainName.java

        if (name.endsWith(".")) {
          name = name.substring(0, name.length() - 1);
        }
    
        checkArgument(name.length() <= MAX_LENGTH, "Domain name too long: '%s':", name);
        this.name = name;
    
        this.parts = ImmutableList.copyOf(DOT_SPLITTER.split(name));
        checkArgument(parts.size() <= MAX_PARTS, "Domain has too many parts: '%s'", name);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top