Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2971 - 2980 of 3,402 for rint (0.03 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        ImmutableTable.Builder<String, Integer, Character> builder = ImmutableTable.builder();
        for (int i = 0; i < data.length; i = i + 3) {
          builder.put((String) data[i], (Integer) data[i + 1], (Character) data[i + 2]);
        }
        return builder.build();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. docs/ru/docs/environment-variables.md

    Например, у вас есть файл `main.py`:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    Второй аргумент <a href=«https://docs.python.org/3.8/library/os.html#os.getenv» class=«external-link» target=«_blank»>`os.getenv()`</a> - это возвращаемое по умолчанию значение.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 11:38:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/discovery/v1/generated.proto

      // If this is not specified, ports are not restricted and must be
      // interpreted in the context of the specific consumer.
      optional int32 port = 3;
    
      // The application protocol for this port.
      // This is used as a hint for implementations to offer richer behavior for protocols that they understand.
      // This field follows standard Kubernetes label syntax.
      // Valid values are either:
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

                  FluentIterable.<Integer>from(asList(1, 2)).append((List<Integer>) null);
            });
      }
    
      /*
       * Tests for partition(int size) method.
       */
    
      /*
       * Tests for partitionWithPadding(int size) method.
       */
    
      public void testFilter() {
        FluentIterable<String> filtered =
            FluentIterable.from(asList("foo", "bar")).filter(equalTo("foo"));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Network.java

       *
       * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}.
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this network
       */
      int degree(N node);
    
      /**
       * Returns the count of {@code node}'s {@link #inEdges(Object) incoming edges} in a directed
       * network. In an undirected network, returns the {@link #degree(Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        @Override
        public Iterator<E> iterator() {
          // We explicitly don't lock for iterator()
          assertFalse(Thread.holdsLock(mutex));
          return delegate.iterator();
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.size();
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        initializeData(out);
    
        byte[] data = baos.toByteArray();
    
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        int bytesSkipped = 0;
        while (bytesSkipped < 10) {
          bytesSkipped += in.skipBytes(10 - bytesSkipped);
        }
    
        /* Read in various values in LITTLE ENDIAN FORMAT */
        byte[] b = new byte[2];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        initializeData(out);
    
        byte[] data = baos.toByteArray();
    
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        int bytesSkipped = 0;
        while (bytesSkipped < 10) {
          bytesSkipped += in.skipBytes(10 - bytesSkipped);
        }
    
        /* Read in various values in LITTLE ENDIAN FORMAT */
        byte[] b = new byte[2];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

         * @param filter
         * @param searchAttributes
         * @throws CIFSException
         */
        public DirFileEntryEnumIterator2 ( SmbTreeHandleImpl th, SmbResource parent, String wildcard, ResourceNameFilter filter, int searchAttributes )
                throws CIFSException {
            super(th, parent, wildcard, filter, searchAttributes);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(short.class));
        assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(Short.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(int.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(Integer.class));
        assertEquals(Long.valueOf(0), ArbitraryInstances.get(long.class));
        assertEquals(Long.valueOf(0), ArbitraryInstances.get(Long.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top