Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 419 for negate (0.04 seconds)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        // The radix is used as an array index, so try a negative value.
        try {
          UnsignedInts.parseUnsignedInt("0", -1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (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<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. tests/generics_test.go

    	}
    
    	// update with Set after chain
    	newName := "GenericsSetUpdate_After"
    	newAge := uint(31)
    	rows, err := gorm.G[User](DB).
    		Where("id = ?", u.ID).
    		Set(
    			clause.Assignment{Column: clause.Column{Name: "name"}, Value: newName},
    			clause.Assignment{Column: clause.Column{Name: "age"}, Value: newAge},
    		).
    		Update(ctx)
    	if err != nil {
    		t.Fatalf("Set Update failed: %v", err)
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/websockets.md

    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:
    
    * Abra o aplicativo com várias abas do navegador.
    * Escreva mensagens a partir delas.
    * Então feche uma das abas.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

             * @param h1 the first hour
             * @param m1 the first minute
             * @param h2 the second hour
             * @param m2 the second minute
             * @return positive if first time is earlier, 0 if equal, negative if later
             */
            protected int compareTime(final int h1, final int m1, final int h2, final int m2) {
                if (h1 < h2) {
                    return 1;
                }
                if (h1 == h2) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
        @DisplayName("Test setTid with negative value")
        void testSetTidWithNegativeValue() {
            // Given
            int tid = -1;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                throw new IllegalArgumentException("Success threshold must be at least 1");
            }
            if (timeoutMillis < 0) {
                throw new IllegalArgumentException("Timeout must be non-negative");
            }
        }
    
        /**
         * Execute a callable through the circuit breaker
         *
         * @param <T> return type
         * @param callable the callable to execute
         * @return the result
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertEquals((byte) 0x00, buffer[1]);
            assertEquals((byte) 0x00, buffer[2]);
            assertEquals((byte) 0x00, buffer[3]);
        }
    
        @Test
        @DisplayName("Should handle negative FID values")
        void testNegativeFid() {
            // Arrange
            int negativeFid = -1;
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, negativeFid);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    @AndroidIncompatible // test-suite builders
    public final class MapTestSuiteBuilderTests extends TestCase {
      private MapTestSuiteBuilderTests() {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/AbstractCache.java

              negativeToMaxValue(loadExceptionCount.sum()),
              negativeToMaxValue(totalLoadTime.sum()),
              negativeToMaxValue(evictionCount.sum()));
        }
    
        /** Returns {@code value}, if non-negative. Otherwise, returns {@link Long#MAX_VALUE}. */
        private static long negativeToMaxValue(long value) {
          return (value >= 0) ? value : Long.MAX_VALUE;
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top