Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2541 - 2550 of 4,820 for if (0.01 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java

         *
         * @param dir the directory containing the file
         * @param name the name of the file
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. statement_test.go

    			})
    			s2 := s.clone()
    			s2.AddClause(clause.Where{
    				Exprs: s.BuildCondition("FINAL2"),
    			})
    
    			if reflect.DeepEqual(s1.Clauses["WHERE"], s2.Clauses["WHERE"]) {
    				t.Errorf("Where conditions should be different")
    			}
    		})
    	}
    }
    
    func TestNilCondition(t *testing.T) {
    	s := new(Statement)
    	if len(s.BuildCondition(nil)) != 0 {
    		t.Errorf("Nil condition should be empty")
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Dec 23 13:19:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 1; i < 900; i += 2) {
          if (!falsePositives.contains(i)) {
            assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i)));
          }
        }
    
        // Check that there are exactly 29824 false positives for this BF.
        int knownNumberOfFalsePositives = 29824;
        int numFpp = 0;
        for (int i = 1; i < numInsertions * 2; i += 2) {
          if (bf.mightContain(Integer.toString(i))) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

         */
        public OptionalEntity<StemmerOverrideItem> getStemmerOverrideItem(final String dictId, final long id) {
            return getStemmerOverrideFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores (creates or updates) a stemmer override item in the specified dictionary.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

       * Returns the socket that this connection is using. Returns an
       * [SSL socket][javax.net.ssl.SSLSocket] if this connection is HTTPS. If this is an HTTP/2
       * connection the socket may be shared by multiple concurrent calls.
       */
      fun socket(): Socket
    
      /**
       * Returns the TLS handshake used to establish this connection, or null if the connection is not
       * HTTPS.
       */
      fun handshake(): Handshake?
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
      public void testCustomEscaper() {
        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
              || (c >= 'a' && c <= 'z')
              || (c >= 'A' && c <= 'Z')
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
        static int readPacketType(final InputStream in, final byte[] buffer, final int bufferIndex) throws IOException {
            int n = readn(in, buffer, bufferIndex, HEADER_LENGTH);
            if (n != HEADER_LENGTH) {
                if (n == -1) {
                    return -1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

         *
         * @param returnCode the return code to set
         */
        public void setReturnCode(int returnCode) {
            this.returnCode = returnCode;
        }
    
        /**
         * Checks if the RPC operation was successful.
         *
         * @return true if successful (return code is ERROR_SUCCESS)
         */
        public boolean isSuccess() {
            return returnCode == ERROR_SUCCESS;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Crypto.java

        public static Provider getProvider() {
            if (provider != null) {
                return provider;
            }
            provider = new BouncyCastleProvider();
            return provider;
        }
    
        /**
         * Initialize Provider Instance with customProvider
         * @param customProvider the custom cryptographic provider to use
         * @throws CIFSUnsupportedCryptoException if Provider has already been initialized.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            // The result could be either a TermQueryBuilder or DefaultQueryBuilder depending on field configuration
            assertTrue(result instanceof TermQueryBuilder || result instanceof DefaultQueryBuilder);
    
            if (result instanceof TermQueryBuilder) {
                TermQueryBuilder termQueryBuilder = (TermQueryBuilder) result;
                assertEquals("field", termQueryBuilder.fieldName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top