Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 956 for Prevent (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        }
    
        /**
         * Aggregating mojo executions (possibly) modify all MavenProjects, including those that are currently in use
         * by concurrently running mojo executions. To prevent race conditions, an aggregating execution will block
         * all other executions until finished.
         * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Boolean)
              && Booleans.indexOf(array, (Boolean) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Boolean) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  4. internal/dsync/locker.go

    	// Canceling the context will abort the remote call.
    	// In that case, the resource may or may not be unlocked.
    	Unlock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Refresh the given lock to prevent it from becoming stale
    	Refresh(ctx context.Context, args LockArgs) (bool, error)
    
    	// Unlock (read/write) forcefully for given LockArgs. It should return
    	// * a boolean to indicate success/failure of the operation
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 18 20:44:38 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        private var done: Boolean = false
    
        /**
         * Prevents this editor from completing normally. This is necessary either when the edit causes
         * an I/O error, or if the target entry is evicted while this editor is active. In either case
         * we delete the editor's created files and prevent new files from being created. Note that once
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      }
    
      override fun flush() {
      }
    
      override fun close() {
      }
    }
    
    @SuppressSignatureCheck
    object AndroidLog {
      private const val MAX_LOG_LENGTH = 4000
    
      // Keep references to loggers to prevent their configuration from being GC'd.
      private val configuredLoggers = CopyOnWriteArraySet<Logger>()
    
      private val knownLoggers =
        LinkedHashMap<String, String>().apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

                Path tempPath = null;
                try {
                    tempPath = Files.createTempFile("transport-get", "tmp");
                    if (get(relativeSource, tempPath)) {
                        // TODO: check file size and prevent OOM?
                        return Optional.of(Files.readAllBytes(tempPath));
                    }
                    return Optional.empty();
                } finally {
                    if (tempPath != null) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  8. cni/pkg/log/uds.go

    			log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    			continue
    		}
    		msg.Msg = strings.TrimSpace(msg.Msg)
    		messages = append(messages, msg)
    	}
    	// Lock log message printing to prevent log messages from different CNI
    	// processes interleave.
    	l.mu.Lock()
    	defer l.mu.Unlock()
    	for _, m := range messages {
    		// There is no fatal log from CNI plugin
    		switch m.Level {
    		case "debug":
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Floats.java

        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Float) && Floats.indexOf(array, (Float) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Float) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Character)
              && Chars.indexOf(array, (Character) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Character) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top