Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 773 for zeros (0.73 sec)

  1. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

        /**
         * Stores a character mapping item in the specified dictionary.
         * <p>
         * This method performs either an insert operation (for new items with ID 0)
         * or an update operation (for existing items with non-zero ID) depending on
         * the item's current state.
         * </p>
         *
         * @param dictId the dictionary ID to store the character mapping item in
         * @param charMappingItem the character mapping item to store
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals(1, config.getChannelBindingPolicy());
        }
    
        @Test
        void testEdgeCaseValues() throws CIFSException {
            Properties props = new Properties();
    
            // Test zero and negative values
            props.setProperty("jcifs.smb.client.maxChannels", "0");
            PropertyConfiguration config = new PropertyConfiguration(props);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

            longestRunOffset = currentRunOffset
            longestRunLength = currentRunLength
          }
          i += 2
        }
      }
    
      // Emit each 2-byte group in hex, separated by ':'. The longest run of zeroes is "::".
      val result = Buffer()
      var i = 0
      while (i < address.size) {
        if (i == longestRunOffset) {
          result.writeByte(':'.code)
          i += longestRunLength
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                assertEquals(0, message.retval);
            }
    
            @Test
            @DisplayName("Should handle zero sam pointer correctly")
            void testDecodeOutZeroSamPointer() throws NdrException {
                // Given: Message with non-null sam and zero pointer in response
                samr.SamrSamArray samArray = spy(new samr.SamrSamArray());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  5. finisher_api.go

    		if result.Statement.Schema.PrioritizedPrimaryField == nil {
    			tx.AddError(ErrPrimaryKeyRequired)
    			break
    		}
    
    		primaryValue, zero := result.Statement.Schema.PrioritizedPrimaryField.ValueOf(tx.Statement.Context, resultsValue.Index(resultsValue.Len()-1))
    		if zero {
    			tx.AddError(ErrPrimaryKeyRequired)
    			break
    		}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(0, message.retval);
            }
    
            @Test
            @DisplayName("Should handle zero sam pointer correctly")
            void testDecodeOutZeroSamPointer() throws NdrException {
                // Given: Message with non-null sam and zero pointer in response
                samr.SamrSamArray samArray = spy(new samr.SamrSamArray());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

                ArithmeticException.class,
                () -> BigDecimalMath.roundToDouble(input, UNNECESSARY));
          }
        }
      }
    
      public void testRoundToDouble_zero() {
        new RoundToDoubleTester(BigDecimal.ZERO).setExpectation(0.0, values()).test();
      }
    
      public void testRoundToDouble_oneThird() {
        new RoundToDoubleTester(
                BigDecimal.ONE.divide(BigDecimal.valueOf(3), new MathContext(50, HALF_EVEN)))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
            // Lifetime accessors (edge: zero/negative)
            auth.setUserLifeTime(0);
            assertEquals(0, auth.getUserLifeTime());
            auth.setUserLifeTime(-1);
            assertEquals(-1, auth.getUserLifeTime());
    
            auth.setLifeTime(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    
        @Test
        void testClose_SmbExceptionOnClose() throws IOException {
            // Test case: close() with non-zero retval from MsrpcSamrCloseHandle, should throw SmbException
            String server = "testServer";
            int access = 123;
            int errorRetval = 12345; // Simulate an error code
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            int totalWeight = 0;
            for (ChannelInfo channel : channels) {
                totalWeight += channel.getScore();
            }
    
            if (totalWeight == 0) {
                // All channels have zero score, pick randomly
                List<ChannelInfo> list = new ArrayList<>(channels);
                return list.get(ThreadLocalRandom.current().nextInt(list.size()));
            }
    
            // Weighted random selection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top