Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 420 for negate (0.08 sec)

  1. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        }
    
        public void test_error_handling_edge_cases() {
            // Test error handling with edge cases
            try {
                // Test with extreme status codes
                WebApiUtil.setError(-1, "Negative status code");
                WebApiUtil.setError(0, "Zero status code");
                WebApiUtil.setError(999, "Large status code");
    
                // Test with very long message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public MapMaker initialCapacity(int initialCapacity) {
        checkState(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            int result = SessionServicePacket.readInt4(src, 0);
    
            assertEquals(0x12345678, result);
        }
    
        @Test
        @DisplayName("readInt4 with negative bytes should handle correctly")
        void testReadInt4WithNegativeBytes() {
            byte[] src = { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF };
            int result = SessionServicePacket.readInt4(src, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(0, response.getChunkBytesWritten());
                assertEquals(0, response.getTotalBytesWritten());
            }
    
            @Test
            @DisplayName("Should handle negative values as unsigned")
            void testDecodeNegativeValuesAsUnsigned() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[12];
                SMBUtil.writeInt4(-1, buffer, 0); // chunksWritten
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    log(buf);
                }
            });
        }
    
        /**
         * Outputs statistics information for a crawler object.
         *
         * @param keyObj the crawler object the statistics relate to
         * @param data the statistics data to output
         * @param begin the timestamp when tracking began
         * @param done whether tracking was completed normally
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

       * @return a new, empty {@code CompactHashSet} with enough capacity to hold {@code expectedSize}
       *     elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      public static <E extends @Nullable Object> CompactHashSet<E> createWithExpectedSize(
          int expectedSize) {
        return new CompactHashSet<>(expectedSize);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code long} value present at the given index.
       *
       * @throws IndexOutOfBoundsException if {@code index} is negative, or greater than or equal to
       *     {@link #length}
       */
      public long get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        } finally {
          monitor.leave();
        }
      }
    
      /** Iterator for MonitorBasedArrayBlockingQueue */
      private class Itr implements Iterator<E> {
        /** Index of element to be returned by next, or a negative number if no such. */
        private int nextIndex;
    
        /**
         * nextItem holds on to item fields because once we claim that an element exists in hasNext(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code int} value present at the given index.
       *
       * @throws IndexOutOfBoundsException if {@code index} is negative, or greater than or equal to
       *     {@link #length}
       */
      public int get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.cc

      TF_ShapeAndType& shape = shape_list->items[index];
      DCHECK(shape.dims == nullptr) << "Shape at " << index << " is already set!";
      DCHECK(num_dims >= 0) << "Number of dimensions cannot be negative!";
      shape.num_dims = num_dims;
      shape.dims = new int64_t[num_dims];
      memcpy(shape.dims, dims, sizeof(int64_t) * num_dims);
    }
    
    void TF_ShapeAndTypeListSetUnknownShape(TF_ShapeAndTypeList* shape_list,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
Back to top