Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4491 - 4500 of 6,918 for RETURN (0.04 sec)

  1. cni/pkg/nodeagent/podcgroupns_linux.go

    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    	"syscall"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
    		return stat.Ino, nil
    	}
    	return 0, fmt.Errorf("unable to get inode")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 814 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnTest.java

        return transformValues(table, DIVIDE_BY_2);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<String, Character, Integer> table = HashBasedTable.create();
        table.put("one", 'a', 1);
        table.put("two", 'a', 2);
        table.put("three", 'a', 3);
        table.put("four", 'b', 4);
        return transformValues(table, DIVIDE_BY_2).column('a');
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java

        return unmodifiableRowSortedTable(original);
      }
    
      @Override
      protected SortedMap<String, Map<Integer, Character>> makePopulatedMap() {
        RowSortedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("foo", 1, 'a');
        table.put("bar", 1, 'b');
        table.put("foo", 3, 'c');
        return unmodifiableRowSortedTable(table).rowMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/UnmodifiableTableRowTest.java

        return unmodifiableTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
        table.put('a', "three", 3);
        table.put('b', "four", 4);
        return unmodifiableTable(table).row('a');
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java

                if (formattedDate == null && startTime != null) {
                    formattedDate = new SimpleDateFormat(format).format(startTime);
                }
    
                return formattedDate;
            }
    
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. internal/dsync/utils.go

    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(r *rand.Rand, attempt uint) time.Duration {
    		sleep := min
    		sleep += unit * time.Duration(attempt)
    		if sleep > cap {
    			sleep = cap
    		}
    		sleep -= time.Duration(r.Float64() * float64(sleep))
    		return sleep
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 13 15:42:21 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_op_requires.h

          ::tensorflow::Set_TF_Status_from_Status(C_STATUS, _s);      \
          TF_OpKernelContext_Failure(CTX, C_STATUS);                  \
          TF_DeleteStatus(C_STATUS);                                  \
          return;                                                     \
        }                                                             \
      } while (0)
    
    #define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 02 21:35:06 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

        public String convert(final String url) {
            if (url == null) {
                return null;
            }
            String convertedUrl = url;
            for (final Map.Entry<String, String> entry : convertMap.entrySet()) {
                convertedUrl = convertedUrl.replaceAll(entry.getKey(), entry.getValue());
            }
            return convertedUrl;
        }
    
        public void add(final String target, final String replacement) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            return buildResult.apply {
                assertTrue("Build result is not a failure", failure != null)
                println(failure?.message)
                block()
            }
        }
    
        private
        fun setupRunBinaryCompatibility(v1: File.() -> Unit, v2: File.() -> Unit): File {
            rootDir.withFile("version.txt", "1.0")
    
            return rootDir.withUniqueDirectory("input-build").apply {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial007_an_py39.py

    async def read_items(
        q: Annotated[Union[str, None], Query(title="Query string", min_length=3)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 350 bytes
    - Viewed (0)
Back to top