Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 5,397 for returns (0.1 sec)

  1. android/guava/src/com/google/common/collect/SortedLists.java

       * equal to the key.
       */
      enum KeyAbsentBehavior {
        /**
         * Return the index of the next lower element in the list, or {@code -1} if there is no such
         * element.
         */
        NEXT_LOWER {
          @Override
          int resultIndex(int higherIndex) {
            return higherIndex - 1;
          }
        },
        /**
         * Return the index of the next higher element in the list, or {@code list.size()} if there is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

          logger.info("served $requestLine")
          return MockResponse(code = HttpURLConnection.HTTP_NOT_FOUND)
        }
    
        if (failFastResponse != null && responseQueue.peek() == null) {
          // Fail fast if there's no response queued up.
          return failFastResponse!!
        }
    
        val result = responseQueue.take()
    
        // If take() returned because we're shutting down, then enqueue another dead letter so that any
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/bufio/net_test.go

    			ch <- tot
    		}()
    
    		serverConn, err := server.Accept()
    		if err != nil {
    			t.Error(err)
    			return
    		}
    
    		buf := make([]byte, 1024)
    		for {
    			n, err := serverConn.Read(buf)
    			tot += n
    			if err == io.EOF {
    				return
    			}
    			if err != nil {
    				t.Error(err)
    				return
    			}
    		}
    	}()
    
    	clientConn, err := net.DialUnix("unixpacket", nil, addr)
    	if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_test.go

    			if len(merged) == 0 && i < 2 {
    				t.Error("Did not get any results")
    				return
    			}
    			if len(merged) > 0 && i >= 2 {
    				t.Error("Got unexpected results")
    				return
    			}
    			for _, ver := range merged {
    				if ver.header.Type == invalidVersionType {
    					t.Errorf("Invalid result returned: %v", ver.header)
    				}
    			}
    		})
    		t.Run(fmt.Sprintf("flags-q%d", i), func(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbException.java

         *
         * @return status code
         */
        public int getNtStatus() {
            return this.status;
        }
    
        /**
         * Get the root cause of this exception (deprecated - use getCause() instead)
         *
         * @return cause
         */
        @Deprecated
        public Throwable getRootCause() {
            return this.getCause();
        }
    
        /**
         * @param e
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

                }
                return this.handle;
            }
            return this.handle.acquire();
        }
    
        /**
         * Converts an SmbException to an IOException
         *
         * @param se the SmbException to convert
         * @return an IOException wrapping the SmbException
         */
        protected static IOException seToIoe(final SmbException se) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            return readResourceRecordWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readRDataWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            numberOfNames = src[srcIndex] & 0xFF;
            final int namesLength = numberOfNames * 18;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/bufio/example_test.go

    		if i == -1 {
    			if !atEOF {
    				return 0, nil, nil
    			}
    			// If we have reached the end, return the last token.
    			return 0, data, bufio.ErrFinalToken
    		}
    		// If the token is "STOP", stop the scanning and ignore the rest.
    		if string(data[:i]) == "STOP" {
    			return i + 1, nil, bufio.ErrFinalToken
    		}
    		// Otherwise, return the token before the comma.
    		return i + 1, data[:i], nil
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java

        @Test
        public void testCreateProviderAuto() {
            RdmaProvider provider = RdmaProviderFactory.createProvider("auto");
            assertNotNull(provider, "Auto provider selection should return a provider");
            assertTrue(provider.isAvailable(), "Returned provider should be available");
        }
    
        @Test
        public void testCreateProviderTcp() {
            RdmaProvider provider = RdmaProviderFactory.createProvider("tcp");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. docs/debugging/inspect/decrypt-v2.go

    		if err != nil {
    			if err == io.EOF {
    				if extracted {
    					return nil
    				}
    				return errors.New("no data found on stream")
    			}
    			if errors.Is(err, estream.ErrNoKey) {
    				fmt.Println("Skipping", stream.Name, "no private key")
    				if err := stream.Skip(); err != nil {
    					return fmt.Errorf("stream skip: %w", err)
    				}
    				continue
    			}
    			return fmt.Errorf("next stream: %w", err)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top