Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 68 for getYear (0.05 seconds)

  1. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                        .thenReturn(0); // auth_value length
    
                assertThrows(NdrException.class, () -> message.decode(mockBuffer));
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("getPtype should return correct packet type")
            void testGetPtype() {
                message.ptype = DcerpcConstants.RPC_PT_REQUEST;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  2. cmd/metacache-server-pool.go

    		}
    		if !returned {
    			xioutil.SafeClose(outCh)
    		}
    		xioutil.SafeClose(saveCh)
    	}()
    
    	entries, err = filteredResults()
    	if err == nil {
    		// Check if listing recorded an error.
    		err = meta.getErr()
    	}
    	return entries, err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  3. cmd/metacache-set.go

    	} else {
    		// An error is already set.
    		return
    	}
    	meta, _ = m.o.updateMetacacheListing(meta, m.rpc)
    	*m.meta = meta
    }
    
    // getErr will return an error if the listing failed.
    // The error is not type safe.
    func (m *metaCacheRPC) getErr() error {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	if m.meta.status == scanStateError {
    		return errors.New(m.meta.error)
    	}
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertThrows(ClassCastException.class, () -> {
                    referralData.unwrap(IncompatibleReferralData.class);
                });
            }
        }
    
        @Nested
        @DisplayName("Property Getter and Setter Tests")
        class PropertyTests {
    
            @Test
            @DisplayName("Should get and set domain")
            void testDomain() {
                assertNull(referralData.getDomain());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the
       * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}.
       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/dfs/ReferralTest.java

            assertEquals(100, referral.getSize());
            assertEquals(expectedPath, referral.getRpath());
            assertNull(referral.getAltPath());
            assertNull(referral.getNode());
        }
    
        // Getter Tests
    
        @Test
        public void testGetters() {
            // Setup a complete referral
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            bb.putShort((short) 3);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertNotNull(closeResponse);
                assertNull(closeResponse.getFileId());
                assertNull(closeResponse.getFileName());
            }
        }
    
        @Nested
        @DisplayName("Getter Methods Tests")
        class GetterMethodsTests {
    
            @Test
            @DisplayName("getCloseFlags should return initial value of 0")
            void testGetCloseFlags() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            }
    
            /**
             * Parses the next property from the input stream and stores the found
             * name and value in internal fields. These fields can be obtained using
             * the provided getter methods. The return value indicates whether EOF
             * was reached (<b>false</b>) or whether further properties are
             * available (<b>true</b>).
             *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            }
    
            /**
             * Parses the next property from the input stream and stores the found
             * name and value in internal fields. These fields can be obtained using
             * the provided getter methods. The return value indicates whether EOF
             * was reached (<b>false</b>) or whether further properties are
             * available (<b>true</b>).
             *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, response.getContextType());
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should return hash algorithms correctly")
            void testGetHashAlgos() {
                int[] hashAlgos = { 0x01, 0x02, 0x03 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 34K bytes
    - Click Count (0)
Back to Top