Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 5,397 for returns (0.04 sec)

  1. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
        /**
         * Tests whether the output stream is currently open.
         *
         * @return whether the stream is open
         */
        public boolean isOpen() {
            return this.handle != null && this.handle.isValid();
        }
    
        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
         * @throws CIFSException if an error occurs opening the file
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val any) string {
    	return strings.ToLower(toString(val))
    }
    
    // toInteger _ Safely convert interface to integer without causing panic.
    func toInteger(val any) (int64, error) {
    	switch v := val.(type) {
    	case float64:
    		return int64(v), nil
    	case int64:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
    
            @Override
            public byte getFileSystemInformationClass() {
                return informationClass;
            }
    
            @Override
            public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
                return 0;
            }
        }
    
        @Nested
        @DisplayName("Interface Constants Tests")
        class InterfaceConstantsTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

         *
         * @param id
         * @param url
         * @return
         */
        private ArtifactRepository getRepo(String id, String url) {
            return repositorySystem.createArtifactRepository(id, url, new DefaultRepositoryLayout(), null, null);
        }
    
        /**
         * Build an ArtifactRepository object.
         *
         * @param id
         * @return
         */
        private ArtifactRepository getRepo(String id) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    				return entries, io.EOF
    			}
    			partN++
    			retries = 0
    		}
    	}
    }
    
    // getListQuorum interprets list quorum values and returns appropriate
    // acceptable quorum expected for list operations
    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    		return (driveCount + 1) / 2
    	case "auto":
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            @Override
            public String getName() {
                return "testGenerator";
            }
    
            @Override
            public boolean generate(String thumbnailId, File outputFile) {
                generateCalled = true;
                return generateResult;
            }
    
            @Override
            public boolean isAvailable() {
                return available;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        void testTreeConnectResponseInterface() {
            // Then
            assertTrue(response instanceof TreeConnectResponse);
    
            // Test all interface methods
            assertNull(response.getService()); // getService returns null in SMB2
            assertEquals(response.getTreeId(), response.getTid());
        }
    
        /**
         * Helper method to create a valid response buffer
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. cmd/metacache-server-pool.go

    	cancelList()
    	wg.Wait()
    
    	// we should return 'errs' from per disk
    	if isAllNotFound(errs) {
    		if isAllVolumeNotFound(errs) {
    			return errVolumeNotFound
    		}
    		return nil
    	}
    
    	if err != nil {
    		return err
    	}
    
    	if contextCanceled(ctx) {
    		return ctx.Err()
    	}
    
    	for _, err := range errs {
    		if errors.Is(err, io.EOF) {
    			continue
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            /**
             * Get channel ID
             *
             * @return channel identifier
             */
            public String getChannelId() {
                return channelId;
            }
    
            /**
             * Get failure time
             *
             * @return time of first failure
             */
            public long getFailureTime() {
                return failureTime;
            }
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      }
    
      private List<Entry<Object, Object>> warmUp(LoadingCache<Object, Object> cache) {
        return warmUp(cache, WARMUP_MIN, WARMUP_MAX);
      }
    
      /**
       * Returns the entries that were added to the map, so they won't fall out of a map with weak or
       * soft references until the caller drops the reference to the returned entries.
       */
      private List<Entry<Object, Object>> warmUp(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top