Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 5,083 for Returns (0.09 sec)

  1. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            }
    
            @Test
            @DisplayName("available always returns 0")
            void availableAlwaysZero() throws Exception {
                SmbFileInputStream in = newStream();
                assertEquals(0, in.available());
            }
    
            @Test
            @DisplayName("skip: positive advances; non-positive returns 0")
            void skipBehavior() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

        /**
         * Test readParameterWordsWireFormat always returns 0
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            SmbComWrite write = new SmbComWrite();
            byte[] buffer = new byte[10];
            int result = write.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, result, "readParameterWordsWireFormat should always return 0");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddAllNullUnsupportedMethod() {
        return getMethod(CollectionAddAllTester.class, "testAddAll_nullUnsupported");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAll_unsupportedNonePresent()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/RequestWithPathTest.java

            public String getPath() {
                return path;
            }
    
            @Override
            public void setPath(String path) {
                this.path = path;
            }
    
            @Override
            public String getServer() {
                return server;
            }
    
            @Override
            public String getDomain() {
                return domain;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       */
      E[] createArray(int length);
    
      /**
       * Returns the iteration ordering of elements, given the order in which they were added to the
       * container. This method may return the original list unchanged, the original list modified in
       * place, or a different list.
       *
       * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        return CollectCollectors.toImmutableRangeMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() {
        return (ImmutableRangeMap<K, V>) EMPTY;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            assertEquals((byte) 0x00, dst[offset + 1]);
            assertEquals((byte) 0x00, dst[offset + 2]);
            assertEquals((byte) 0x00, dst[offset + 3]);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] buffer = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            byte[] dst = new byte[10];
    
            notifyChange.writeSetupWireFormat(dst, 0);
    
            assertEquals((byte) expectedByte, dst[6]);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat returns zero")
        void testWriteParametersWireFormat() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] dst = new byte[100];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

                    flags |= NTLMSSP_REQUEST_TARGET | NTLMSSP_TARGET_TYPE_DOMAIN;
                }
            }
            return flags;
        }
    
        /**
         * Returns the challenge for this message.
         *
         * @return A <code>byte[]</code> containing the challenge.
         */
        public byte[] getChallenge() {
            return this.challenge;
        }
    
        /**
         * Sets the challenge for this message.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          sum += segments[i].count;
        }
        return Ints.saturatedCast(sum);
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).get(key, hash);
      }
    
      /**
       * Returns the internal entry for the specified key. The entry may be computing or partially
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top