Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4641 - 4650 of 4,820 for If (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // In Unicode mode, the old filename is written as Unicode, then 0x04, then an alignment byte
            int secondBufferFormatIndex = -1;
            for (int i = 1; i < result - 1; i++) {
                if (dst[i] == (byte) 0x04) {
                    secondBufferFormatIndex = i;
                    break;
                }
            }
    
            assertTrue(secondBufferFormatIndex > 0, "Second buffer format byte not found");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

            }, "Setting the factory a second time should throw IllegalStateException.");
        }
    
        @Test
        void testOpenConnection_WithCustomFactory() throws Exception {
            // This test verifies that if a custom URLStreamHandlerFactory is set, it is used
            // to create the stream handler for the connection.
            URLStreamHandlerFactory mockFactory = mock(URLStreamHandlerFactory.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ServerResponseValidatorTest.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(1, matcher.countIn(s));
      }
    
      /**
       * Checks that expected is equals to out, and further, if in is equals to expected, then out is
       * successfully optimized to be identical to in, i.e. that "in" is simply returned.
       */
      private void assertEqualsSame(String expected, String in, String out) {
        if (expected.equals(in)) {
          assertSame(in, out);
        } else {
          assertEquals(expected, out);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        }
        return buffer.readUtf8()
      }
    
      private fun String.mapExpectingErrors(): String {
        val buffer = Buffer()
        var errorCount = 0
        for (codePoint in codePoints()) {
          if (!table.map(codePoint, buffer)) errorCount++
        }
        assertThat(errorCount).isGreaterThan(0)
        return buffer.readUtf8()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().smaxMpxCount = 1;
            response.getServerData().maxBufferSize = 16384;
    
            assertTrue(response.isValid(mockContext, request));
            // After negotiation, check if unicode capability is preserved
            assertTrue((response.getNegotiatedCapabilities() & SmbConstants.CAP_UNICODE) != 0);
        }
    
        @Test
        public void testIsValidWithInvalidDialect() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. .github/workflows/update-rbe.yml

    name: Update RBE Configs
    on:
      workflow_dispatch:
    
    permissions:
      contents: read
    
    jobs:
      rbe:
        name: Update RBE Configs
        runs-on: ubuntu-latest
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        steps:
        - name: Checkout code
          uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
        - name: Update the RBE Configs
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 7.2K bytes
    - Viewed (1)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                private boolean storeCalledWithNull = false;
    
                @Override
                public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                    if (paramMap == null || dataMap == null) {
                        storeCalledWithNull = true;
                    }
                }
    
                @Override
                public long getDocumentSize() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Setup response for tree connect
            doAnswer(invocation -> {
                ServerMessageBlock request = invocation.getArgument(0);
                ServerMessageBlock response = invocation.getArgument(1);
                if (request instanceof SmbComTreeConnectAndX && response instanceof SmbComTreeConnectAndXResponse) {
                    SmbComTreeConnectAndXResponse treeResponse = (SmbComTreeConnectAndXResponse) response;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

                    errorCodeField = currentClass.getDeclaredField("errorCode");
                } catch (NoSuchFieldException e) {
                    currentClass = currentClass.getSuperclass();
                }
            }
    
            if (errorCodeField != null) {
                errorCodeField.setAccessible(true);
                errorCodeField.set(response, errorCode);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top