Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 1,756 for orResult (0.07 sec)

  1. android/guava/src/com/google/common/base/Optional.java

       *
       * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overly
       * restrictive. However, the ideal signature, {@code public <S super T> S or(S)}, is not legal
       * Java. As a result, some sensible operations involving subtypes are compile errors:
       *
       * {@snippet :
       * Optional<Integer> optionalInt = getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // error
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    // The slice aliases the buffer content at least until the next buffer modification,
    // so immediate changes to the slice will affect the result of future reads.
    func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    // This buffer is intended to be appended to and
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. internal/ringbuffer/ring_buffer_test.go

    		if writeErr != ErrWriteOnClosed {
    			t.Errorf("got: %q; want: %q", writeErr, ErrWriteOnClosed)
    		} else {
    			t.Log("ok")
    		}
    	}
    	result := string(buf[0:n])
    	if result != "hello" {
    		t.Errorf("got: %q; want: %q", result, "hello")
    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. tests/callbacks_test.go

    package tests_test
    
    import (
    	"fmt"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    func assertCallbacks(v interface{}, fnames []string) (result bool, msg string) {
    	var (
    		got   []string
    		funcs = reflect.ValueOf(v).Elem().FieldByName("fns")
    	)
    
    	for i := 0; i < funcs.Len(); i++ {
    		got = append(got, getFuncName(funcs.Index(i)))
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

         * authentication scenarios including success, failure, and challenge responses.
         *
         * @return ActionResponse directing to the appropriate page based on authentication result
         */
        @Execute
        public ActionResponse index() {
            if (fessLoginAssist.getSavedUserBean().isPresent()) {
                return redirectToSearchPage().orElseGet(() -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    import jcifs.smb.SmbException;
    
    /**
     * SMB2 IOCTL response message. This response contains the result of a device control
     * operation on the server.
     *
     * @author mbechler
     *
     */
    public class Smb2IoctlResponse extends ServerMessageBlock2Response {
    
        private final byte[] outputBuffer;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            testInheritance("no-append-urls3");
        }
    
        /**
         * Tricky case: flat directory structure, but child directory != artifactId.
         * Model interpolation does not give same result when calculated from build or from repo...
         * This is why MNG-5000 fix in code is marked as bad practice (uses file names)
         * @throws IOException Model read problem
         */
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Queues.java

       *   Iterator<E> i = queue.iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned queue will be serializable if the specified queue is serializable.
       *
       * @param queue the queue to be wrapped in a synchronized view
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18K bytes
    - Viewed (0)
  9. cmd/admin-handlers-site-replication.go

    	duration, _ := time.ParseDuration(durationStr)
    	if duration < globalNetPerfMinDuration {
    		duration = globalNetPerfMinDuration
    	}
    	result := siteNetperf(r.Context(), duration)
    	adminLogIf(r.Context(), gob.NewEncoder(w).Encode(result))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

            saveToken();
            return asHtml(path_AdminJoblog_AdminJoblogJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
        /**
         * Sets up data for search result pagination.
         *
         * @param data the render data
         * @param form the search form
         */
        protected void searchPaging(final RenderData data, final SearchForm form) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top