Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 1,819 for else (0.02 sec)

  1. cmd/xl-storage-disk-id-check.go

    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    		atomic.StoreInt64(&e.cachedSec, t)
    	})
    	acc := e.cached.Load()
    	if lastT := atomic.LoadInt64(&e.cachedSec); lastT != t {
    		// Check if lastT was changed by someone else.
    		if atomic.CompareAndSwapInt64(&e.cachedSec, lastT, t) {
    			// Now we swap in a new.
    			newAcc := &AccElem{}
    			old := e.cached.Swap(newAcc)
    			var a AccElem
    			a.Size = atomic.LoadInt64(&old.Size)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                    boolean contains = doc.get("content_description").toString().toLowerCase().contains(query1);
                    if (!contains) {
                        switchFlg = true;
                    }
                } else {
                    assertTrue(doc.get("content_description").toString().toLowerCase().contains(query2), doc.toString());
                }
            }
        }
    
        @Test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
                        }
                        return order;
                      }
                    })
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. cmd/tier.go

    	if err != nil {
    		if errors.Is(err, errTierNotFound) {
    			return nil
    		}
    		return err
    	}
    	if !force {
    		if inuse, err := d.InUse(ctx); err != nil {
    			return err
    		} else if inuse {
    			return errTierBackendNotEmpty
    		}
    	}
    	config.Lock()
    	delete(config.Tiers, tier)
    	delete(config.drivercache, tier)
    	config.Unlock()
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

                                    if (rule.match(responseData)) {
                                        matchCount.incrementAndGet();
                                    }
                                } else {
                                    responseData.setUrl("https://other.com/page" + j);
                                    if (!rule.match(responseData)) {
                                        noMatchCount.incrementAndGet();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                if (fqdn == null) {
                    DfsReferralDataImpl impl = createInitializedDfsReferralDataImpl();
                    assertThrows(NullPointerException.class, () -> impl.fixupHost(fqdn));
                } else {
                    // Empty string is handled
                    DfsReferralDataImpl impl = createInitializedDfsReferralDataImpl();
                    assertDoesNotThrow(() -> impl.fixupHost(fqdn));
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    				s.setErr(err)
    				return false
    			}
    			if !s.advance(advance) {
    				return false
    			}
    			s.token = token
    			if token != nil {
    				if s.err == nil || advance > 0 {
    					s.empties = 0
    				} else {
    					// Returning tokens not advancing input at EOF.
    					s.empties++
    					if s.empties > maxConsecutiveEmptyReads {
    						panic("bufio.Scan: too many empty tokens without progressing")
    					}
    				}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. LICENSE

    permission to copy, distribute and/or modify the library.
    
      To protect each distributor, we want to make it very clear that
    there is no warranty for the free library.  Also, if the library is
    modified by someone else and passed on, the recipients should know
    that what they have is not the original version, so that the original
    author's reputation will not be affected by problems that might be
    introduced by others.
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            boolean hasWeb = false;
            boolean hasFile = false;
            for (final ProtocolType type : values) {
                if (type == ProtocolType.WEB) {
                    hasWeb = true;
                } else if (type == ProtocolType.FILE) {
                    hasFile = true;
                }
            }
    
            assertTrue("Should have WEB protocol type", hasWeb);
            assertTrue("Should have FILE protocol type", hasFile);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

          assertThat(response2.header("X-Response-ID")).isEqualTo("1")
        } else {
          assertThat(response2.header("X-Response-ID")).isEqualTo("2")
        }
      }
    
      private fun requestBodyOrNull(requestMethod: String): RequestBody? =
        if (requestMethod == "POST" || requestMethod == "PUT") "foo".toRequestBody("text/plain".toMediaType()) else null
    
      @Test
      fun postInvalidatesCache() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top