Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,756 for orResult (0.06 sec)

  1. src/bytes/reader.go

    		return 0
    	}
    	return int(int64(len(r.s)) - r.i)
    }
    
    // Size returns the original length of the underlying byte slice.
    // Size is the number of bytes available for reading via [Reader.ReadAt].
    // The result is unaffected by any method calls except [Reader.Reset].
    func (r *Reader) Size() int64 { return int64(len(r.s)) }
    
    // Read implements the [io.Reader] interface.
    func (r *Reader) Read(b []byte) (n int, err error) {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Hexdump.java

        /**
         * This is an alternative to the <code>java.lang.Integer.toHexString</code>
         * method. It is an efficient relative that also will pad the left side so
         * that the result is <code>size</code> digits.
         *
         * @param val the integer value to convert to hexadecimal
         * @param size the desired length of the resulting hex string (will be left-padded with zeros)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

     * This implementation is singleton-based and always uses UTC timezone. The clock
     * cannot be adjusted to different timezones to maintain consistent monotonic behavior.
     * Users needing local time representation should convert the result of {@link #instant()}
     * to their desired timezone:
     * <pre>{@code
     * Instant now = MonotonicClock.now();
     * ZonedDateTime local = now.atZone(ZoneId.systemDefault());
     * }</pre>
     *
     * @see System#nanoTime()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

        if (list instanceof ImmutableList) {
          // Avoid nullness warnings.
          List<?> reversed = ((ImmutableList<?>) list).reverse();
          @SuppressWarnings("unchecked")
          List<T> result = (List<T>) reversed;
          return result;
        } else if (list instanceof ReverseList) {
          return ((ReverseList<T>) list).getForwardList();
        } else if (list instanceof RandomAccess) {
          return new RandomAccessReverseList<>(list);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers_test.go

    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    		},
    		// Test case - 8.
    		// non-existent bucket is used.
    		// writing BucketPolicy should fail.
    		// should result in 404 StatusNotFound
    		{
    			bucketName:         "non-existent-bucket",
    			bucketPolicyReader: bytes.NewReader(fmt.Appendf(nil, bucketPolicyTemplate, "non-existent-bucket", "non-existent-bucket")),
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                return map.isEmpty();
              }
            });
        assertTrue(map.isEmpty());
      }
    
      // ----------------------------------------------------------------
      // Test that interrupts result in RuntimeException, not InterruptedException.
      // Trickier than it looks, because runFinalization swallows interrupts.
      // ----------------------------------------------------------------
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        }
    
        @Override
        public Future<?> submit(Runnable task) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> Future<T> submit(Runnable task, T result) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void execute(Runnable command) {
          throw new UnsupportedOperationException();
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

      the copyright license set forth in this Agreement.
    
      e) Notwithstanding the terms of any Secondary License, no
      Contributor makes additional grants to any Recipient (other than
      those set forth in this Agreement) as a result of such Recipient's
      receipt of the Program under the terms of a Secondary License
      (if permitted under the terms of Section 3).
    
    3. REQUIREMENTS
    
    3.1 If a Contributor Distributes the Program in any form, then:
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            int maxLength = Math.max(a.length, b.length);
    
            int result = lengthEqual;
            for (int i = 0; i < maxLength; i++) {
                char charA = (i < a.length) ? a[i] : '\0';
                char charB = (i < b.length) ? b[i] : '\0';
                result &= (charA == charB) ? 1 : 0;
            }
    
            return result == 1;
        }
    
        /** The authentication type */
        private AuthenticationType type;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

    @Experimental
    public interface InvokerRequest {
        /**
         * The parser request this instance was created from.
         */
        @Nonnull
        ParserRequest parserRequest();
    
        /**
         * Flag representing parser processing result: if there were some fatal errors during
         * {@link Parser#parseInvocation(ParserRequest)} this method will return {@code true} and invoker should
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top