Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for getResult (0.04 sec)

  1. src/main/java/jcifs/smb/SpnegoContext.java

                        throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism());
                    }
                    this.selectedMech = targ.getMechanism();
                    if (targ.getResult() == NegTokenTarg.REQUEST_MIC) {
                        this.requireMic = true;
                    }
                    this.firstResponse = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

                }
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
              }
            };
        Files.readLines(temp, UTF_8, collectNonEmptyLines);
        assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world  ").inOrder();
    
        assertTrue(temp.delete());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharSourceTest.java

                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return list;
                  }
                });
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), list);
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

        class ResultManagementTests {
    
            @Test
            @DisplayName("getResult should return null for success (result=0)")
            void testGetResultSuccess() {
                message.result = 0;
                assertNull(message.getResult());
            }
    
            @Test
            @DisplayName("getResult should return DcerpcException for non-zero result")
            void testGetResultError() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            this.flags |= flag;
        }
    
        /**
         * Get the result of the DCERPC call.
         * @return result exception, if the call failed
         */
        public DcerpcException getResult() {
            if (this.result != 0) {
                return new DcerpcException(this.result);
            }
            return null;
        }
    
        void encode_header(final NdrBuffer buf) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            flags |= flag;
        }
    
        /**
         * Get the result of the DCERPC call.
         * @return result exception if the call failed, null otherwise
         */
        public DcerpcException getResult() {
            if (result != 0) {
                return new DcerpcException(result);
            }
            return null;
        }
    
        void encode_header(final NdrBuffer buf) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                return false;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was called more than once",
            1,
            CharStreams.readLines(r, alwaysFalse).intValue());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharStreamsTest.java

              int seen;
    
              @Override
              public boolean processLine(String line) {
                seen++;
                return false;
              }
    
              @Override
              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was called more than once",
            1,
            CharStreams.readLines(r, alwaysFalse).intValue());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTester.java

                  public boolean processLine(String line) throws IOException {
                    list.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return list;
                  }
                });
    
        assertExpectedLines(list);
      }
    
      public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcBind.java

        private static String getResultMessage(final int result) {
            return result < 4 ? result_message[result] : "0x" + jcifs.util.Hexdump.toHexString(result, 4);
        }
    
        @Override
        public DcerpcException getResult() {
            if (this.result != 0) {
                return new DcerpcException(getResultMessage(this.result));
            }
            return null;
        }
    
        private DcerpcBinding binding;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top