Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,378 for cannot (0.06 seconds)

  1. internal/lock/lock_nix.go

    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    // acquire a write lock.
    func TryLockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.LOCK_NB)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt

    import okhttp3.Route
    import okio.IOException
    
    /**
     * Listener for connection events. Extend this class to monitor the new connections and closes.
     *
     * All event methods must execute fast, without external locking, cannot throw exceptions,
     * attempt to mutate the event parameters, or be reentrant back into the client.
     * Any IO - writing to files or network should be done asynchronously.
     */
    internal abstract class ConnectionListener {
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri May 30 21:28:20 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          // while starting case.
          if (snapshot.state != STARTING) {
            IllegalStateException failure =
                new IllegalStateException(
                    "Cannot notifyStarted() when the service is " + snapshot.state);
            notifyFailed(failure);
            throw failure;
          }
    
          if (snapshot.shutdownWhenStartupFinishes) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // Then
            assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null.");
            // The server name is stored in a protected field without a public getter, so we cannot directly test it.
            // We can test the public fields that are set.
            assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        @Override
        public void merge(ArtifactMetadata metadata) {
            ProjectArtifactMetadata m = (ProjectArtifactMetadata) metadata;
            if (!m.file.equals(file)) {
                throw new IllegalStateException("Cannot add two different pieces of metadata for: " + getKey());
            }
        }
    
        @Override
        public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusTask.kt

        @get:Input
        val projectPath = project.buildTreePath
    
        @get:Input
        abstract val nullawayEnabled: Property<Boolean>
    
        // TODO(https://github.com/gradle/gradle/issues/27582): We cannot use a SetProperty<ResolvedArtifactResult> because some projects
        //  have no task dependencies and thus are non-CC serializable.
        @get:Input
        abstract val nullawayAwareDeps: Property<ArtifactCollection>
    
        init {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                        throw new InvalidUserDataException("// TEST[continued] " +
                            "cannot be on first snippet in a file: $test")
                    }
                    if (previousTest != null && previousTest.testSetup) {
                        throw new InvalidUserDataException("// TEST[continued] " +
                            "cannot immediately follow // TESTSETUP: $test")
                    }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
    
            // for technical reasons we cannot throw here, even if delegate does cancel transfer
            listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
            Thread.sleep(500); // to make sure queue is processed, cancellation applied
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

            try {
                return (ConflictResolver) container.lookup(ConflictResolver.ROLE, type);
            } catch (ComponentLookupException exception) {
                throw new ConflictResolverNotFoundException("Cannot find conflict resolver of type: " + type);
            }
        }
    
        // Contextualizable methods -----------------------------------------------
    
        /*
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/test/TestClasspathUtils.java

                    .make();
            try {
                dynamicType.toJar(targetFile(projectRoot));
            } catch (IOException e) {
                e.printStackTrace();
                fail("Cannot setup jdk jar hell classpath");
            }
        }
    
        private static File targetFile(File projectRoot) {
            File targetFile = new File(
                    projectRoot,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 15:14:44 GMT 2021
    - 2.9K bytes
    - Click Count (0)
Back to Top