Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2091 - 2100 of 2,189 for else_ (0.02 seconds)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        Monitor monitor = this.monitor;
        if (monitor.enterWhen(notEmpty, timeout, unit)) {
          try {
            return q.poll();
          } finally {
            monitor.leave();
          }
        } else {
          return null;
        }
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public E take() throws InterruptedException {
        Monitor monitor = this.monitor;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  2. cmd/bucket-metadata-sys.go

    	if err != nil {
    		if !globalIsErasure && !globalIsDistErasure && errors.Is(err, errVolumeNotFound) {
    			// Only single drive mode needs this fallback.
    			meta = newBucketMetadata(bucket)
    		} else {
    			return updatedAt, err
    		}
    	}
    	updatedAt = UTCNow()
    	switch configFile {
    	case bucketPolicyConfig:
    		meta.PolicyConfigJSON = configData
    		meta.PolicyConfigUpdatedAt = updatedAt
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  3. 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)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                                    statObject.size(), e);
                            responseData.setHttpStatusCode(Constants.SERVER_ERROR_STATUS_CODE);
                        }
                    } else {
                        File outputFile = null;
                        try {
                            outputFile = createTempFile("crawler-StorageClient-", ".out", null);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20K bytes
    - Click Count (2)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      public static void assertContains(Iterable<?> actual, Object expected) {
        boolean contained = false;
        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    map.put("directory", item.isDirectory());
                    if (!item.isDirectory()) {
                        map.put("lastModified", item.getLastModified());
                        fileList.add(map);
                    } else {
                        list.add(map);
                    }
                }
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  7. 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));
                }
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  8. 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")
    					}
    				}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         */
        protected static Calendar toCalendar(final Date date, final Locale locale) {
            final Calendar calendar;
            if (locale == null) {
                calendar = Calendar.getInstance();
            } else {
                calendar = Calendar.getInstance(locale);
            }
            calendar.setTime(date);
            return calendar;
        }
    
        /**
         * Converts a string to a {@link Time}.
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         */
        protected static Calendar toCalendar(final Date date, final Locale locale) {
            final Calendar calendar;
            if (locale == null) {
                calendar = Calendar.getInstance();
            } else {
                calendar = Calendar.getInstance(locale);
            }
            calendar.setTime(date);
            return calendar;
        }
    
        /**
         * Converts a string to a {@link Timestamp}.
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top