Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,091 for closes (0.07 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      public void testPrimitiveSubscribeFails() {
        class SubscribesToPrimitive {
          @Subscribe
          public void toInt(int i) {}
        }
        assertThrows(IllegalArgumentException.class, () -> bus.register(new SubscribesToPrimitive()));
      }
    
      /** Records thrown exception information. */
      private static final class RecordingSubscriberExceptionHandler
          implements SubscriberExceptionHandler {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            if (smbAuthentications != null) {
                for (final SmbAuthentication smbAuthentication : smbAuthentications) {
                    holder.add(smbAuthentication);
                }
            }
            smbAuthenticationHolder = holder;
        }
    
        @Override
        public void close() {
            smbAuthenticationHolder = null;
        }
    
        /*
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    			return nil, err
    		}
    	}
    	defer func() {
    		if err := file.Close(); err != nil {
    			log.Errorf("failed to close %s: %s", filename, err)
    		}
    	}()
    	return io.ReadAll(file)
    }
    
    func setupFileConfigdumpWriter(filename string, out io.Writer) (*configdump.ConfigWriter, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    	// Get parity and data drive count based on storage class metadata
    	parityDrives := globalStorageClass.GetParityForSC(userDefined[xhttp.AmzStorageClass])
    	if parityDrives < 0 {
    		parityDrives = er.defaultParityCount
    	}
    
    	if globalStorageClass.AvailabilityOptimized() {
    		// If we have offline disks upgrade the number of erasure codes for this object.
    		parityOrig := parityDrives
    
    		var offlineDrives int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(0));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(-1));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(0, 1, SECONDS));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(-1, 1, SECONDS));
      }
    
      public void testSimpleWithWait() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(0));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(-1));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(0, 1, SECONDS));
        assertThrows(IllegalArgumentException.class, () -> limiter.tryAcquire(-1, 1, SECONDS));
      }
    
      public void testSimpleWithWait() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    						rebalanced++
    					}
    					auditLogRebalance(ctx, "Rebalance:DeleteMarker", bucket, version.Name, versionID, err)
    					continue
    				}
    
    				for try := 0; try < 3; try++ {
    					// GetObjectReader.Close is called by rebalanceObject
    					gr, err := set.GetObjectNInfo(ctx,
    						bucket,
    						encodeDirObject(version.Name),
    						nil,
    						http.Header{},
    						ObjectOptions{
    							VersionID:    versionID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    		return grid.NewRemoteErr(err)
    	}
    	var buf bytes.Buffer
    	enc := json.NewEncoder(&buf)
    	for {
    		select {
    		case entry, ok := <-ch:
    			if !ok {
    				return grid.NewRemoteErrString("console log channel closed")
    			}
    			if !entry.SendLog("", madmin.LogMask(mask)) {
    				continue
    			}
    			buf.Reset()
    			if err := enc.Encode(entry); err != nil {
    				return grid.NewRemoteErr(err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. cmd/metacache-server-pool.go

    		}
    	}
    	if !truncated {
    		return entries, io.EOF
    	}
    	return entries, nil
    }
    
    // listMerged will list across all sets and return a merged results stream.
    // The result channel is closed when no more results are expected.
    func (z *erasureServerPools) listMerged(ctx context.Context, o listPathOptions, results chan<- metaCacheEntry) error {
    	var mu sync.Mutex
    	var wg sync.WaitGroup
    	var errs []error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    	}
    	defer contentReader.Close()
    
    	expContent, err := io.ReadAll(contentReader)
    	if err != nil {
    		c.Fatalf("export %d: Unable to read exported content: %v", caseNum, err)
    	}
    
    	return expContent
    }
    
    type dummyCloser struct {
    	io.Reader
    }
    
    func (d dummyCloser) Close() error { return nil }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top