Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 341 for synchronized (0.37 sec)

  1. src/main/java/jcifs/smb/SmbFileOutputStream.java

        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
         * @throws CIFSException if an error occurs opening the file
         */
        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!isOpen()) {
                // one extra acquire to keep this open till the stream is released
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

      private class RecordingPushObserver :
        PushObserver,
        Lockable {
        val events = mutableListOf<Any>()
    
        @Synchronized fun takeEvent(): Any {
          while (events.isEmpty()) {
            wait()
          }
          return events.removeAt(0)
        }
    
        @Synchronized override fun onRequest(
          streamId: Int,
          requestHeaders: List<Header>,
        ): Boolean {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    			t.Errorf("Unexpected error: %v", dataErrsPerDisk[diskIndex])
    		}
    
    		if disk == nil {
    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    
    	// Test 2: Not synchronized modtime
    	erasureDisks = s.getDisks()
    	partsMetadataBackup := partsMetadata[0]
    	partsMetadata[0].ModTime = partsMetadata[0].ModTime.Add(-1 * time.Hour)
    
    	errs = make([]error, len(erasureDisks))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        public org.apache.maven.api.plugin.descriptor.PluginDescriptor getPluginDescriptorV4() {
            if (pluginDescriptorV4 == null) {
                synchronized (this) {
                    if (pluginDescriptorV4 == null) {
                        pluginDescriptorV4 = org.apache.maven.api.plugin.descriptor.PluginDescriptor.newBuilder()
                                .namespaceUri(null)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. docs/smb3-features/06-witness-protocol-design.md

        private final int batchSize = 10;
        private final long batchTimeout = 100;  // 100ms
        
        public void addNotification(WitnessNotification notification) {
            synchronized (pendingNotifications) {
                pendingNotifications.offer(notification);
                
                if (pendingNotifications.size() >= batchSize) {
                    processBatch();
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        /**
         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

                            final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
                            if (polled != null) {
                                count++;
                                synchronized (allUrls) {
                                    allUrls.add(polled.getUrl());
                                }
                            }
                        }
                        totalPolled.addAndGet(count);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

            resultData.setTransformerName(getName());
    
            initBaseDir();
    
            final String url = responseData.getUrl();
            final String path = getFilePath(url);
    
            synchronized (this) {
    
                final File file = createFile(path);
    
                try (final InputStream is = responseData.getResponseBody(); final OutputStream os = new FileOutputStream(file);) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         * @throws DcerpcException if the bind operation fails
         * @throws IOException if an I/O error occurs
         */
        public void bind() throws DcerpcException, IOException {
            synchronized (this) {
                try {
                    state = 1;
                    final DcerpcMessage bind = new DcerpcBind(binding, this);
                    sendrecv(bind);
                } catch (final IOException ioe) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpFilter.java

                    resp.setContentLength(0);
                    resp.flushBuffer();
                    return null;
                }
            }
    
            return ntlm;
        }
    
        private synchronized NtlmChallenge getChallengeForDomain(final String domain) throws UnknownHostException, ServletException {
            if (domain == null) {
                throw new ServletException("A domain was not specified");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top