Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 4,322 for nulls (0.02 seconds)

  1. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

        @Test
        void testLsarDomainInfoEncodeDecodeWithNulls() throws NdrException {
            // Create a domain info with null fields
            lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo();
            domainInfo.name = new rpc.unicode_string();
            domainInfo.name.buffer = null;
            domainInfo.sid = null;
    
            // Encode to buffer
            byte[] buffer = new byte[1024];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Platform.java

       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SSPContextTest.java

            }
    
            @Test
            @DisplayName("verifyMIC throws on mismatch and nulls")
            void testVerifyMICThrows() throws Exception {
                DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, true, null, null, 0, true);
                byte[] data = new byte[] { 1, 2, 3 };
                byte[] wrongMic = new byte[] { 0 };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        initThreeCopies();
        assertSetCountDecreasingFailure(e0(), 1);
      }
    
      // setCount with nulls:
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testSetCount_removeNull_nullSupported() {
        initCollectionWithNullElement();
        assertSetCount(null, 0);
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

            // Match by share name or server address, safely handling nulls
            boolean shareMatch = resourceName != null && shareName != null && resourceName.equalsIgnoreCase(shareName);
    
            String serverAddress = registration.getServerAddress() != null ? registration.getServerAddress().getHostAddress() : null;
            boolean addressMatch = java.util.Objects.equals(resourceName, serverAddress);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex) {
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          keys[dstIndex] = keys[srcIndex];
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = 0;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            entry1.dfs_name = null;
            arrayWithNulls.s[0] = entry1;
    
            netdfs.DfsInfo200 entry2 = new netdfs.DfsInfo200();
            entry2.dfs_name = "valid_share";
            arrayWithNulls.s[1] = entry2;
    
            // Replace the info.e field
            setDfsEnumArray(dfsRootEnum, arrayWithNulls);
    
            // Test getEntries handles nulls
            FileEntry[] entries = dfsRootEnum.getEntries();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          List<?> normalValues = (List<?>) asList(elements);
          List<E> extremeValues = new ArrayList<>();
    
          // nulls are usually out of bounds for a subset, so ban them altogether
          for (Object o : elements) {
            if (o == null) {
              throw new NullPointerException();
            }
          }
    
          // prepare extreme values to be filtered out of view
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Streams.java

       */
      /*
       * By declaring <T> instead of <T extends @Nullable Object>, we declare this method as requiring a
       * stream whose elements are non-null. However, the method goes out of its way to still handle
       * nulls in the stream. This means that the method can safely be used with a stream that contains
       * nulls as long as the *last* element is *not* null.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertEquals("0", getResultMessageMethod.invoke(null, 0), "Should return '0' for success");
                assertEquals("DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 1),
                        "Should return correct message for error 1");
                assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 2),
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
Back to Top