Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 420 for negate (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle negative offset")
            void testNegativeOffset() {
                request.setOffset(-1L);
                request.setData(new byte[10], 0, 10);
    
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                // Negative value should be written as-is (interpreted as unsigned by receiver)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

                    .toList();
    
            private Impl(int maxCountLimit, Predicate<? super P> filter) {
                if (maxCountLimit < 0) {
                    throw new IllegalArgumentException("maxCountLimit must be non-negative");
                }
                this.maxCountLimit = maxCountLimit;
                this.totalCount = new AtomicInteger();
                this.counters = new ConcurrentHashMap<>();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterables.java

       * @throws IllegalArgumentException if {@code limitSize} is negative
       * @since 3.0
       */
      public static <T extends @Nullable Object> Iterable<T> limit(
          Iterable<T> iterable, int limitSize) {
        checkNotNull(iterable);
        checkArgument(limitSize >= 0, "limit is negative");
        return new FluentIterable<T>() {
          @Override
          public Iterator<T> iterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

       * @return a new, empty {@code ObjectCountLinkedHashMap} with enough capacity to hold {@code
       *     expectedSize} elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> createWithExpectedSize(
          int expectedSize) {
        return new ObjectCountLinkedHashMap<K>(expectedSize);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            // Assert: verify interaction and returned value
            verify(renewable, times(1)).renew();
            assertSame(returned, result, "renew() should return the stubbed value");
    
            // Negative interaction check: no further interactions with the mock
            verifyNoMoreInteractions(renewable);
        }
    
        @Test
        @DisplayName("Edge: calling renew() on a null reference throws NPE")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/websockets.md

    ## Lidando com desconexões e múltiplos clientes
    
    Quando uma conexão WebSocket é fechada, o `await websocket.receive_text()` levantará uma exceção `WebSocketDisconnect`, que você pode então capturar e lidar como neste exemplo.
    
    {*../../docs_src/websockets/tutorial003_py39.py hl[79:81]*}
    
    Para testar:
    
    * Abrar o aplicativo com várias abas do navegador.
    * Escreva mensagens a partir delas.
    * Então feche uma das abas.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should handle negative status codes")
            void testNegativeStatusCode() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[256];
                System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4);
                SMBUtil.writeInt4(-1, buffer, 8); // negative status
    
                // Write error response structure at offset 64
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/Quantiles.java

          // Since index and (dataset.length - 1) are non-negative ints, their product can be expressed
          // as a long, without risk of overflow:
          long numerator = (long) index * (dataset.length - 1);
          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                    return 3600000L;
                }
            };
            FessTimeResourceProvider positiveProvider = new FessTimeResourceProvider(positiveConfig);
            assertNotNull(positiveProvider);
    
            // Test negative adjustment
            FessConfig negativeConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getTimeAdjustTimeMillis() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.17.md

    ## Notable Features
    ### Stable
    - Graduate ScheduleDaemonSetPods to GA. (feature gate will be removed in 1.18) ([#82795](https://github.com/kubernetes/kubernetes/pull/82795), [@draveness](https://github.com/draveness))
    - Graduate TaintNodesByCondition to GA in 1.17. (feature gate will be removed in 1.18) ([#82703](https://github.com/kubernetes/kubernetes/pull/82703), [@draveness](https://github.com/draveness))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
Back to top