Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 841 for takes (0.02 seconds)

  1. internal/event/targetlist.go

    	if workerCount == 0 {
    		workerCount = runtime.GOMAXPROCS(0)
    	}
    	wk, err := workers.New(workerCount)
    	if err != nil {
    		panic(err)
    	}
    	for range workerCount {
    		wk.Take()
    		go func() {
    			defer wk.Give()
    
    			for {
    				select {
    				case av := <-list.queue:
    					list.sendSync(av.ev, av.targetSet)
    				case <-list.ctx.Done():
    					return
    				}
    			}
    		}()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

       * value, you should always choose it explicitly.
       *
       * <p>The current implementation uses the concurrency level to create a fixed number of hashtable
       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        /**
         * Get the open flags returned by the server
         * @return the flags
         */
        public final byte getOpenFlags() {
            return this.openFlags;
        }
    
        /**
         * Get the create action taken by the server
         * @return the createAction
         */
        public final int getCreateAction() {
            return this.createAction;
        }
    
        /**
         * Get the file creation time
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMaker.java

       * WeakReference} (by default, strong references are used).
       *
       * <p>Weak values will be garbage collected once they are weakly reachable. This makes them a poor
       * candidate for caching.
       *
       * <p><b>Warning:</b> when this method is used, the resulting map will use identity ({@code ==})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                return;
            }
    
            // Convert modules element to subprojects
            Element modulesElement = root.child(MODULES).orElse(null);
            if (modulesElement != null) {
                // domtrip makes this much simpler - just change the element name
                // The formatting and structure are preserved automatically
                modulesElement.name(SUBPROJECTS);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. src/archive/zip/writer_test.go

    		{Name: "file.go", Data: []byte("hello"), Mode: 0644},
    		{Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                            }
                        }
                    }
                }
            }
        }
    
        // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process
        // TODO take repo mans into account as one may be aggregating prefixes of many
        // TODO collect at the root of the repository, read the one at the root, and fetch remote if something is missing
        // or the user forces the issue
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      @Override
      public void run() {
        assertThat(Thread.currentThread()).isEqualTo(this);
        try {
          while (true) {
            Request request = requestQueue.take();
            Object result;
            try {
              result = invokeMethod(request.methodName, request.arguments);
            } catch (ThreadDeath death) {
              return;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  9. architecture/standards/0006-use-of-provider-apis-in-gradle.md

            return someProperty
        }
    }
    ```
    
    It is not acceptable to introduce new properties on a task, extension or domain object that use plain getters and setters.  It is also not acceptable to add setters that take a Provider.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          } catch (NullPointerException | ClassCastException e) {
            return 0;
          }
        }
    
        /**
         * Removes exactly the specified number of occurrences of {@code element}, or makes no change if
         * this is not possible.
         *
         * <p>This method, in contrast to {@link #remove(Object, int)}, has no effect when the element
         * count is smaller than {@code occurrences}.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
Back to Top