Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2281 - 2290 of 3,763 for Int (0.03 sec)

  1. cni/pkg/nodeagent/netns_linux.go

    	return n.innerNetns.Close()
    }
    
    func (n *NetnsWrapper) Fd() uintptr {
    	return n.innerNetns.Fd()
    }
    
    func inodeForFd(n NetnsFd) (uint64, error) {
    	stats := &unix.Stat_t{}
    	err := unix.Fstat(int(n.Fd()), stats)
    	return stats.Ino, err
    }
    
    func OpenNetns(nspath string) (NetnsCloser, error) {
    	n, err := netns.GetNS(nspath)
    	if err != nil {
    		return nil, err
    	}
    	i, err := inodeForFd(n)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 31 10:05:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

                generator.saveImage(input, outputFile);
            }
            assertImageSize(outputFile, 100, 100);
    
        }
    
        private void assertImageSize(File file, int width, int height) throws IOException {
            BufferedImage img = ImageIO.read(file);
            logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight());
            assertEquals("Image Width", width, img.getWidth());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove(int)} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

        protected ReadingConverter contentsReadingConverter;
        protected Normalizer normalizer;
        protected SuggestAnalyzer analyzer;
        protected ExecutorService threadPool;
    
        protected int threadPoolSize = Runtime.getRuntime().availableProcessors();
    
        public SuggesterBuilder settings(final SuggestSettings settings) {
            this.settings = settings;
            settingsBuilder = null;
            return this;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                final String[] strings = name.split("\\.");
                final StringBuilder buf = new StringBuilder(100);
                if (strings.length > 1) {
                    for (int i = 0; i < strings.length - 1; i++) {
                        if (buf.length() != 0) {
                            buf.append('.');
                        }
                        buf.append(strings[i]);
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      }
    
      private static void verifyOccupiedMethodsInCurrentThread(
          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        assertEquals(expectedIsOccupied, monitor.isOccupied());
        assertEquals(expectedIsOccupiedByCurrentThread, monitor.isOccupiedByCurrentThread());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/InternersTest.java

      }
    
      public void testStrong_null() {
        Interner<String> pool = Interners.newStrongInterner();
        assertThrows(NullPointerException.class, () -> pool.intern(null));
      }
    
      public void testStrong_builder() {
        int concurrencyLevel = 42;
        Interner<Object> interner =
            Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build();
        InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      }
    
      private static void verifyOccupiedMethodsInCurrentThread(
          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        assertEquals(expectedIsOccupied, monitor.isOccupied());
        assertEquals(expectedIsOccupiedByCurrentThread, monitor.isOccupiedByCurrentThread());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

        private final SmbFileHandleImpl handle;
        private final int filter;
        private final boolean recursive;
    
    
        /**
         * @param fh
         * @param filter
         * @param recursive
         * 
         */
        public SmbWatchHandleImpl ( SmbFileHandleImpl fh, int filter, boolean recursive ) {
            this.handle = fh;
            this.filter = filter;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  10. docs_src/settings/app03_an_py39/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
        class Config:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 204 bytes
    - Viewed (0)
Back to top