Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2201 - 2210 of 2,324 for Booleans (0.04 sec)

  1. src/test/java/jcifs/FileNotifyInformationTest.java

                flags ^= FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE;
                assertFalse((flags & FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE) != 0);
            }
        }
    
        // Helper methods
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
        }
    
        private FileNotifyInformation createImplementation(final int action, final String fileName) {
            return new FileNotifyInformation() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

                return 20;
            }
        }
    
        /**
         * SigningDigest spy that records whether sign() was invoked.
         */
        static class TestSigningDigest extends SigningDigest {
            boolean called;
            int lastLength;
    
            TestSigningDigest() throws SmbException {
                super(new byte[16], false);
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        @ParameterizedTest(name = "SMB2 param: recursive={0}, filter={1}")
        @CsvSource({ "true, 0", "false, -1" })
        @DisplayName("watch() SMB2 parameterized branches execute without error")
        void watch_smb2_parameterized(boolean recursive, int filter) throws Exception {
            NotifyResponse resp = mock(NotifyResponse.class);
            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

        private static final String DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT = "yyyyMMdd.HHmmss";
    
        private static final String DEFAULT_DATE_FORMAT = "yyyyMMddHHmmss";
    
        private static String formatDate(Date date, boolean forSnapshotTimestamp) {
            // logic from metadata.mdo, class "Versioning"
            TimeZone timezone = TimeZone.getTimeZone("UTC");
            DateFormat fmt =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        if (isCancelled() | localInputFuture == null | localFunction == null) {
          return;
        }
        inputFuture = null;
    
        if (localInputFuture.isCancelled()) {
          @SuppressWarnings("unchecked")
          boolean unused =
              setFuture((ListenableFuture<O>) localInputFuture); // Respects cancellation cause setting
          return;
        }
    
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            NtlmHttpFilter customFilter = new NtlmHttpFilter() {
                @Override
                protected NtlmPasswordAuthentication negotiate(HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication)
                        throws IOException, ServletException {
                    if (skipAuthentication) {
                        return null;
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                        }
                    });
    
            // Print analysis
            analyzer.printAnalysis();
        }
    
        private static boolean containsSrcOrTarget(Path pomPath) {
            Path parent = pomPath.getParent();
            while (parent != null && parent.getFileName() != null) {
                String dirName = parent.getFileName().toString();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        if (isCancelled() | localInputFuture == null | localFunction == null) {
          return;
        }
        inputFuture = null;
    
        if (localInputFuture.isCancelled()) {
          @SuppressWarnings("unchecked")
          boolean unused =
              setFuture((ListenableFuture<O>) localInputFuture); // Respects cancellation cause setting
          return;
        }
    
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @DisplayName("Should handle various share flag combinations")
        @ParameterizedTest
        @MethodSource("provideFlagCombinations")
        void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = createValidResponseBuffer(0, flags, 0, 0);
    
            // When
            response.readBytesWireFormat(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

          long entry = entries[next];
          if (getHash(entry) == hash && Objects.equals(key, keys[next])) {
            return next;
          }
          next = getNext(entry);
        }
        return -1;
      }
    
      public boolean containsKey(@Nullable Object key) {
        return indexOf(key) != -1;
      }
    
      public int get(@Nullable Object key) {
        int index = indexOf(key);
        return (index == -1) ? 0 : values[index];
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top