Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 5,326 for Returns (0.08 sec)

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

        return construct(e1, e2, e3);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) {
        return construct(e1, e2, e3, e4);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Strings.java

      private Strings() {}
    
      /**
       * Returns the given string if it is non-null; the empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is non-null; {@code ""} if it is null
       */
      public static String nullToEmpty(@Nullable String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ClassUtil.java

         * @return The package name.
         */
        public static String getPackageName(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            final String fqcn = clazz.getName();
            final int pos = fqcn.lastIndexOf('.');
            if (pos > 0) {
                return fqcn.substring(0, pos);
            }
            return null;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                }
                return new XPathAPI();
            }
        }
    
        /**
         * Returns the header for the result data.
         * @return The result data header.
         */
        protected String getResultDataHeader() {
            // TODO support other type
            return "<?xml version=\"1.0\"?>\n<doc>\n";
        }
    
        /**
         * Returns the body of the result data for a single value.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
       * [reader]. For example, if the reader's peeked tag isn't readable by this adapter, it may return
       * a default value.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Equivalence.java

              return equivalence.equivalent(this.reference, that.reference);
            }
          }
          return false;
        }
    
        /** Returns the result of {@link Equivalence#hash(Object)} applied to the wrapped reference. */
        @Override
        public int hashCode() {
          return equivalence.hash(reference);
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/SLinkedList.java

            }
            return getLastEntry().element;
        }
    
        /**
         * Returns the first entry.
         *
         * @return the first entry
         */
        public Entry getFirstEntry() {
            if (isEmpty()) {
                return null;
            }
            return header.next;
        }
    
        /**
         * Returns the last entry.
         *
         * @return the last entry
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        @Test
        @DisplayName("Test size returns zero for empty message")
        void testSizeReturnsZero() {
            // Given
            when(request.size()).thenReturn(0);
    
            // When
            int result = request.size();
    
            // Then
            assertEquals(0, result);
            verify(request, times(1)).size();
        }
    
        @Test
        @DisplayName("Test size returns large value for large message")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. cmd/erasure-coding.go

    		// If all are zero, payload is 0 bytes.
    		return nil
    	}
    	return e.encoder().ReconstructData(data)
    }
    
    // DecodeDataAndParityBlocks decodes the given erasure-coded data and verifies it.
    // It returns an error if the decoding failed.
    func (e *Erasure) DecodeDataAndParityBlocks(ctx context.Context, data [][]byte) error {
    	return e.encoder().Reconstruct(data)
    }
    
    // ShardSize - returns actual shared size from erasure blockSize.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheStats.java

       * implementing your own stats collector.
       */
      public long requestCount() {
        return saturatedAdd(hitCount, missCount);
      }
    
      /** Returns the number of times {@link Cache} lookup methods have returned a cached value. */
      public long hitCount() {
        return hitCount;
      }
    
      /**
       * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top