Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 6,702 for If (0.1 seconds)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

         * @throws SmbException if validation fails
         */
        public void validateBuffer(byte[] buffer, int expectedSize, int maxSize) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (buffer == null) {
                failedValidations.incrementAndGet();
                throw new SmbException("Response buffer is null");
            }
    
            if (buffer.length < expectedSize) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessClient.java

        }
    
        /**
         * Determines if a notification should be delivered to a registration.
         *
         * @param registration the registration
         * @param notification the notification
         * @return true if the notification should be delivered
         */
        private boolean shouldDeliverNotification(WitnessRegistration registration, WitnessNotification notification) {
            // Check if notification is relevant to this registration
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  3. cmd/erasure-decode_test.go

    		closeBitrotReaders(bitrotReaders)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		if err == nil {
    			if content := writer.Bytes(); !bytes.Equal(content, data[test.offset:test.offset+test.length]) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/RangeSet.java

       * this.contains(value)} whenever {@code other.contains(value)}. Returns {@code true} if {@code
       * other} is empty.
       *
       * <p>This is equivalent to checking if this range set {@link #encloses} each of the ranges in
       * {@code other}.
       */
      boolean enclosesAll(RangeSet<C> other);
    
      /**
       * Returns {@code true} if for each range in {@code other} there exists a member range in this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. internal/grid/stream.go

    func (s *Stream) Send(b []byte) error {
    	if s.Requests == nil {
    		return errors.New("stream does not accept requests")
    	}
    	select {
    	case s.Requests <- b:
    		return nil
    	case <-s.ctx.Done():
    		return context.Cause(s.ctx)
    	}
    }
    
    // Results returns the results from the remote server one by one.
    // If any error is returned by the callback, the stream will be canceled.
    // If the context is canceled, the stream will be canceled.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 07 15:51:52 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  6. cmd/admin-handlers-users_test.go

    	}
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    		c.Fatalf("unable to setup Etcd for tests: %v", err)
    	}
    
    	s.RestartIAMSuite(c)
    }
    
    func (s *TestSuiteIAM) SetUpSuite(c *check) {
    	// If etcd backend is specified and etcd server is not present, the test
    	// is skipped.
    	etcdServer := env.Get(EnvTestEtcdBackend, "")
    	if s.withEtcdBackend && etcdServer == "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  7. cmd/server-main_test.go

    			if testcase.expectedErr && err == nil {
    				t.Error("expected failure, got success")
    			}
    			if !testcase.expectedErr && err != nil {
    				t.Error("expected success, got failure", err)
    			}
    			if err == nil {
    				if len(sctx.Layout.pools) != 2 {
    					t.Error("expected parsed pools to be 2, not", len(sctx.Layout.pools))
    				}
    				if sctx.Layout.pools[0].cmdline != testcase.hash {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ForwardingMultiset.java

       * #entrySet}. If you override {@link #entrySet}, you may wish to override {@link #clear} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected void standardClear() {
        Iterators.clear(entrySet().iterator());
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #count} in terms of {@link #entrySet}. If
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. src/test/resources/thumbnail/test_generate_thumbnail.sh

            return 1
        fi
    }
    
    echo "=========================================="
    echo "Testing generate-thumbnail script"
    echo "=========================================="
    echo ""
    
    # Check if the script exists
    if [[ ! -f "${GENERATE_THUMBNAIL}" ]]; then
        echo -e "${RED}ERROR: generate-thumbnail script not found at ${GENERATE_THUMBNAIL}${NC}"
        exit 1
    fi
    
    # Make sure the script is executable
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return localRepositoryPath;
        }
    
        @Override
        public List<String> getGoals() {
            if (goals == null) {
                goals = new ArrayList<>();
            }
            return goals;
        }
    
        @Override
        public Properties getSystemProperties() {
            if (systemProperties == null) {
                systemProperties = new Properties();
            }
    
            return systemProperties;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
Back to Top