Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3291 - 3300 of 4,619 for _new (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       */
      public static <E extends @Nullable Object> void assertCollectionIsUnmodifiable(
          Collection<E> collection, E sampleElement) {
        Collection<E> siblingCollection = new ArrayList<>();
        siblingCollection.add(sampleElement);
    
        Collection<E> copy = new ArrayList<>();
        copy.addAll(collection);
    
        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils.go

    	return shuffleWithDist[StorageAPI](disks, distribution)
    }
    
    // evalDisks - returns a new slice of disks where nil is set if
    // the corresponding error in errs slice is not nil
    func evalDisks(disks []StorageAPI, errs []error) []StorageAPI {
    	if len(errs) != len(disks) {
    		bugLogIf(GlobalContext, errors.New("unexpected drives/errors slice length"))
    		return nil
    	}
    	newDisks := make([]StorageAPI, len(disks))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsJobLogCQ.java

            JobLogCQ cq = new JobLogCQ();
            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    JobLogCQ cf = new JobLogCQ();
                    cqLambda.callback(cf);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 71.3K bytes
    - Viewed (0)
  4. cmd/utils.go

    	if mdFive := r.Header.Get(xhttp.ContentMD5); mdFive != "" {
    		want, err := base64.StdEncoding.DecodeString(mdFive)
    		if err != nil {
    			return false
    		}
    		r.Body = hash.NewChecker(r.Body, md5.New(), want, r.ContentLength)
    		return true
    	}
    	cs, err := hash.GetContentChecksum(r.Header)
    	if err != nil {
    		return false
    	}
    	if cs == nil || !cs.Type.IsSet() {
    		return false
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private var nextQueueName = 10000
      private var coordinatorWaiting = false
      private var coordinatorWakeUpAt = 0L
    
      /**
       * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we
       * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      // The thread executing the task publishes itself to the superclass' reference and the thread
      // interrupting sets DONE when it has finished interrupting.
      private static final Runnable DONE = new DoNothingRunnable();
      private static final Runnable PARKED = new DoNothingRunnable();
      // Why 1000?  WHY NOT!
      private static final int MAX_BUSY_WAIT_SPINS = 1000;
    
      @Override
      public final void run() {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsKeyMatch.java

        //                                                                              ======
        @Override
        public Map<String, Object> toSource() {
            Map<String, Object> sourceMap = new HashMap<>();
            if (boost != null) {
                addFieldToSource(sourceMap, "boost", boost);
            }
            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/ElevateWordToLabelDbm.java

        //                                                                           =========
        private static final ElevateWordToLabelDbm _instance = new ElevateWordToLabelDbm();
    
        private ElevateWordToLabelDbm() {
        }
    
        public static ElevateWordToLabelDbm getInstance() {
            return _instance;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Platform.java

        // But that is only likely to happen in Robolectric tests, where the risks of JDK regex are low.
        return new JdkPatternCompiler();
      }
    
      private static final class JdkPatternCompiler implements PatternCompiler {
        @Override
        public CommonPattern compile(String pattern) {
          return new JdkPattern(Pattern.compile(pattern));
        }
    
        @Override
        public boolean isPcreLike() {
          return true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DfsImplTest.java

            when(mockTransportPool.getSmbTransport(any(CIFSContext.class), anyString(), anyInt(), anyBoolean(), anyBoolean()))
                    .thenThrow(new IOException("Connection failed"));
    
            // Instantiate the class under test
            dfsImpl = new DfsImpl(mockContext);
        }
    
        // Test for the constructor
        @Test
        void testDfsImplConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top